Sha256: 9c8ad53f4042c6e1876791290801cdce335863361140dbb7c153c32490540a89
Contents?: true
Size: 646 Bytes
Versions: 67
Compression:
Stored size: 646 Bytes
Contents
# # change-ws.rb - # $Release Version: 0.9.6$ # $Revision: 47112 $ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # # # require "irb/cmd/nop.rb" require "irb/ext/workspaces.rb" # :stopdoc: module IRB module ExtendCommand class Workspaces<Nop def execute(*obj) irb_context.workspaces.collect{|ws| ws.main} end end class PushWorkspace<Workspaces def execute(*obj) irb_context.push_workspace(*obj) super end end class PopWorkspace<Workspaces def execute(*obj) irb_context.pop_workspace(*obj) super end end end end # :startdoc:
Version data entries
67 entries across 39 versions & 3 rubygems