Sha256: 8e7927d4540d15153659c672e281cc708b162fd603d374b6d83ab6215d9aceec
Contents?: true
Size: 653 Bytes
Versions: 17
Compression:
Stored size: 653 Bytes
Contents
# frozen_string_literal: false # # change-ws.rb - # by Keiju ISHITSUKA(keiju@ruby-lang.org) # require_relative "nop" require_relative "../ext/change-ws" module IRB # :stopdoc: module ExtendCommand class CurrentWorkingWorkspace < Nop category "Workspace" description "Show the current workspace." def execute(*obj) irb_context.main end end class ChangeWorkspace < Nop category "Workspace" description "Change the current workspace to an object." def execute(*obj) irb_context.change_workspace(*obj) irb_context.main end end end # :startdoc: end
Version data entries
17 entries across 17 versions & 2 rubygems