1
0
Fork 0
mirror of https://github.com/pry/pry-rails.git synced 2022-11-09 12:36:03 -05:00

Merge pull request #57 from amatsuda/warnings

warning: assigned but unused variable - e
This commit is contained in:
Ryan Fitzgerald 2014-09-01 19:28:31 -07:00
commit 8ac0c422ac

View file

@ -44,7 +44,7 @@ class PryRails::ShowModels < Pry::ClassCommand
begin
is_model = o.class == Class && o.ancestors.include?(Mongoid::Document)
rescue => e
rescue
# If it's a weird object, it's not what we want anyway.
end