diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/irb/inspector.rb | 2 | ||||
| -rw-r--r-- | lib/irb/locale.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/inspector.rb b/lib/irb/inspector.rb index ee3b19efdc..7bdd855b9a 100644 --- a/lib/irb/inspector.rb +++ b/lib/irb/inspector.rb @@ -46,7 +46,7 @@ module IRB # :nodoc: # Determines the inspector to use where +inspector+ is one of the keys passed # during inspector definition. def self.keys_with_inspector(inspector) - INSPECTORS.select{|k,v| v == inspector}.collect{|k, v| k} + INSPECTORS.select{|k, v| v == inspector}.collect{|k, v| k} end # Example diff --git a/lib/irb/locale.rb b/lib/irb/locale.rb index f94aa0f40b..1510af2ab4 100644 --- a/lib/irb/locale.rb +++ b/lib/irb/locale.rb @@ -94,7 +94,7 @@ module IRB # :nodoc: end end - def find(file , paths = $:) + def find(file, paths = $:) dir = File.dirname(file) dir = "" if dir == "." base = File.basename(file) |
