Sha256: c663ef27aa98614fb1f033b6be2a89719357073e760aad489394151888588c5c

Contents?: true

Size: 466 Bytes

Versions: 8

Compression:

Stored size: 466 Bytes

Contents

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

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shoesgem-0.1514.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1480.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1469.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1430.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1429.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1428.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1426.0 shoes/ruby/lib/irb/cmd/chws.rb
shoesgem-0.1424.0 shoes/ruby/lib/irb/cmd/chws.rb