$36 GRAYBYTE WORDPRESS FILE MANAGER $85

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/lib64/ruby/1.8/irb/ext/

HOME
Current File : /opt/alt/ruby18/lib64/ruby/1.8/irb/ext//change-ws.rb
#
#   irb/ext/cb.rb - 
#   	$Release Version: 0.9.5$
#   	$Revision: 11708 $
#   	$Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
#   	by Keiju ISHITSUKA([email protected])
#
# --
#
#   
#

module IRB
  class Context

    def home_workspace
      if defined? @home_workspace
	@home_workspace
      else
	@home_workspace = @workspace
      end
    end

    def change_workspace(*_main)
      if _main.empty?
	@workspace = home_workspace 
	return main
      end
      
      @workspace = WorkSpace.new(_main[0])
      
      if !(class<<main;ancestors;end).include?(ExtendCommandBundle)
	main.extend ExtendCommandBundle
      end
    end

#     def change_binding(*_main)
#       back = @workspace
#       @workspace = WorkSpace.new(*_main)
#       unless _main.empty?
# 	begin
# 	  main.extend ExtendCommandBundle
# 	rescue
# 	  print "can't change binding to: ", main.inspect, "\n"
# 	  @workspace = back
# 	  return nil
# 	end
#       end
#       @irb_level += 1
#       begin
# 	catch(:SU_EXIT) do
# 	  @irb.eval_input
# 	end
#       ensure
# 	@irb_level -= 1
#  	@workspace = back
#       end
#     end
#     alias change_workspace change_binding
   end
end



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / linksafe
0755
change-ws.rb
1.143 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
history.rb
2.118 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
loader.rb
2.253 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
math-mode.rb
0.61 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
multi-irb.rb
4.75 KB
17 Nov 2009 6.51 AM
root / linksafe
0644
save-history.rb
2.117 KB
9 Aug 2009 8.44 AM
root / linksafe
0644
tracer.rb
1.162 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
use-loader.rb
1.331 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
workspaces.rb
0.955 KB
12 Feb 2007 11.01 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF