Sha256: fd2ea4dd2f5a59e6a0b3ab51d0f0636a3e023f54ea3423dd4a14f99f0ddc4378

Contents?: true

Size: 537 Bytes

Versions: 41

Compression:

Stored size: 537 Bytes

Contents

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

require_relative "nop"
require_relative "../ext/change-ws"

# :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

41 entries across 41 versions & 2 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/irb-1.4.1/lib/irb/cmd/chws.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/irb-1.4.1/lib/irb/cmd/chws.rb
irb-1.4.1 lib/irb/cmd/chws.rb
irb-1.4.0 lib/irb/cmd/chws.rb
irb-1.3.8.pre.11 lib/irb/cmd/chws.rb
irb-1.3.8.pre.10 lib/irb/cmd/chws.rb
irb-1.3.8.pre.9 lib/irb/cmd/chws.rb
irb-1.3.8.pre.8 lib/irb/cmd/chws.rb
irb-1.3.8.pre.7 lib/irb/cmd/chws.rb
irb-1.3.8.pre.6 lib/irb/cmd/chws.rb
irb-1.3.8.pre.5 lib/irb/cmd/chws.rb
irb-1.3.8.pre.4 lib/irb/cmd/chws.rb
irb-1.3.8.pre.3 lib/irb/cmd/chws.rb
irb-1.3.8.pre.2 lib/irb/cmd/chws.rb
irb-1.3.8.pre.1 lib/irb/cmd/chws.rb
irb-1.3.7 lib/irb/cmd/chws.rb
irb-1.3.6 lib/irb/cmd/chws.rb
irb-1.3.5 lib/irb/cmd/chws.rb
irb-1.3.4 lib/irb/cmd/chws.rb
irb-1.3.3 lib/irb/cmd/chws.rb