Class: IRB::Command::CurrentWorkingWorkspace
- Defined in:
- lib/irb/command/chws.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
category, description, execute, help_message, #initialize
Constructor Details
This class inherits a constructor from IRB::Command::Base
Instance Method Details
#execute(_arg) ⇒ Object
17 18 19 |
# File 'lib/irb/command/chws.rb', line 17 def execute(_arg) puts "Current workspace: #{irb_context.main}" end |