Class: IRB::Command::ChangeWorkspace
    Do not use.  This class is for internal use only.
  
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           Base | |
| Instance Chain: 
          self,
           Base | |
| Inherits: | IRB::Command::Base 
 | 
| Defined in: | lib/irb/command/chws.rb | 
Class Method Summary
Base - Inherited
Instance Attribute Summary
Base - Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from IRB::Command::Base
Instance Method Details
#execute(arg)
[ GitHub ]# File 'lib/irb/command/chws.rb', line 26
def execute(arg) if arg.empty? irb_context.change_workspace else obj = eval(arg, irb_context.workspace.binding) irb_context.change_workspace(obj) end puts "Current workspace: #{irb_context.main}" end