diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-09 13:35:57 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-09 13:35:57 -0700 |
commit | 79921599e7ba0f150f4cd093d626eea49831d8dc (patch) | |
tree | c18acfc3c9975b9a9bbf1029f7c6f39814bdf6d8 /lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb | |
parent | d6e5fa74de5b13abc6c60a95b83acc8eb8d3ed05 (diff) | |
download | ffi-yajl-79921599e7ba0f150f4cd093d626eea49831d8dc.tar.gz |
eliminate Rescue Exception
Diffstat (limited to 'lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb')
-rw-r--r-- | lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb index 8d9dd5d..db72e45 100644 --- a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb +++ b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb @@ -10,7 +10,7 @@ module FFI_Yajl def run begin require 'ruby-prof' - rescue Exception + rescue LoadError puts "INFO: perftools.rb gem not installed" end |