X7ROOT File Manager
Current Path:
/opt/alt/ruby19/lib64/ruby/1.9.1/irb/cmd
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
1.9.1
/
irb
/
cmd
/
ðŸ“
..
📄
chws.rb
(462 B)
📄
fork.rb
(557 B)
📄
help.rb
(639 B)
📄
load.rb
(1.1 KB)
📄
nop.rb
(526 B)
📄
pushws.rb
(586 B)
📄
subirb.rb
(571 B)
Editing: pushws.rb
# # change-ws.rb - # $Release Version: 0.9.6$ # $Revision: 25189 $ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # # # require "irb/cmd/nop.rb" require "irb/ext/workspaces.rb" 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
Upload File
Create Folder