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:
commit
8ac0c422ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue