Class: IRB::Command::Look
- Inherits:
-
Base
- Object
- Base
- IRB::Command::Look
- Defined in:
- lib/irbtools/commands/look.rb
Instance Method Summary collapse
Instance Method Details
#execute(*args) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/irbtools/commands/look.rb', line 9 def execute(*args) if args.empty? @irb_context.workspace.binding.look else obj, *params = *args obj.look(*params) end end |