Class: IRB::ExtendCommand::Workspaces
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Nop
Instance Method Summary collapse
Methods inherited from Nop
Constructor Details
This class inherits a constructor from IRB::ExtendCommand::Nop
Instance Method Details
#execute(*obj) ⇒ Object
20 21 22 |
# File 'lib/irb/cmd/pushws.rb', line 20 def execute(*obj) irb_context.workspaces.collect{|ws| ws.main} end |