method
change_workspace
change_workspace(*_main)
public
Hide source
# File lib/irb/ext/change-ws.rb, line 23 def change_workspace(*_main) if _main.empty? @workspace = home_workspace return main end @workspace = WorkSpace.new(_main[0]) if !(class<<main;ancestors;end).include?(ExtendCommandBundle) main.extend ExtendCommandBundle end end