X7ROOT File Manager
Current Path:
/opt/alt/ruby27/share/gems/gems/irb-1.2.6/lib/irb/cmd
opt
/
alt
/
ruby27
/
share
/
gems
/
gems
/
irb-1.2.6
/
lib
/
irb
/
cmd
/
??
..
??
chws.rb
(537 B)
??
fork.rb
(638 B)
??
help.rb
(901 B)
??
info.rb
(559 B)
??
load.rb
(1.2 KB)
??
nop.rb
(545 B)
??
pushws.rb
(677 B)
??
subirb.rb
(661 B)
Editing: pushws.rb
# 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/workspaces" # :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:
Upload File
Create Folder