method

change_workspace

v1_9_2_180 - Show latest stable - Class: IRB::Context
change_workspace(*_main)
public

No documentation available.

# 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