Class: IRB::ExtendCommand::ChangeWorkspace
- Defined in:
- lib/irb/cmd/chws.rb
Instance Attribute Summary
Attributes inherited from Nop
Instance Method Summary collapse
Methods inherited from Nop
category, description, execute, #initialize
Constructor Details
This class inherits a constructor from IRB::ExtendCommand::Nop
Instance Method Details
#execute(*obj) ⇒ Object
28 29 30 31 |
# File 'lib/irb/cmd/chws.rb', line 28 def execute(*obj) irb_context.change_workspace(*obj) irb_context.main end |