Sha256: 1b0bee571b0c43c65d10b3e404da25eef6ccbf50e8dcd20dfdcdd9f2e31f80aa

Contents?: true

Size: 478 Bytes

Versions: 4

Compression:

Stored size: 478 Bytes

Contents

#
#   change-ws.rb -
#   	$Release Version: 0.9.6$
#   	$Revision$
#   	by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#

require "irb/cmd/nop.rb"
require "irb/ext/change-ws.rb"

# :stopdoc:
module IRB
  module ExtendCommand

    class CurrentWorkingWorkspace<Nop
      def execute(*obj)
	irb_context.main
      end
    end

    class ChangeWorkspace<Nop
      def execute(*obj)
	irb_context.change_workspace(*obj)
	irb_context.main
      end
    end
  end
end
# :startdoc:

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubysl-irb-2.1.1 lib/irb/cmd/chws.rb
rubysl-irb-2.1.0 lib/irb/cmd/chws.rb
rubysl-irb-2.0.4 lib/irb/cmd/chws.rb
rubysl-irb-2.0.3 lib/irb/cmd/chws.rb