Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /opt/alt/ruby20/lib64/ruby/2.0.0/irb/cmd//pushws.rb
#
# change-ws.rb -
# $Release Version: 0.9.6$
# $Revision: 38358 $
# 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:
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 22:43:33 | root / linksafe | 0755 | |
| | | | | |
chws.rb | 0.475 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |
fork.rb | 0.56 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |
help.rb | 0.648 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |
load.rb | 1.128 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |
nop.rb | 0.538 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |
pushws.rb | 0.597 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |
subirb.rb | 0.582 KB | December 13 2012 05:22:30 | root / linksafe | 0644 | |