Class: IRB::ExtendCommand::Workspaces
Direct Known Subclasses
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
18 19 20 |
# File 'lib/irb/cmd/pushws.rb', line 18 def execute(*obj) irb_context.workspaces.collect{|ws| ws.main} end |