$59 GRAYBYTE WORDPRESS FILE MANAGER $49

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

/opt/alt/ruby19/lib64/ruby/1.9.1/irb/ext/

HOME
Current File : /opt/alt/ruby19/lib64/ruby/1.9.1/irb/ext//change-ws.rb
#
#   irb/ext/cb.rb -
#   	$Release Version: 0.9.6$
#   	$Revision: 25189 $
#   	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.067 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
history.rb
2.047 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
loader.rb
2.184 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
math-mode.rb
0.549 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
multi-irb.rb
4.732 KB
8 Nov 2010 8.59 PM
root / linksafe
0644
save-history.rb
2.125 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
tracer.rb
1.099 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
use-loader.rb
1.266 KB
2 Oct 2009 12.04 PM
root / linksafe
0644
workspaces.rb
0.894 KB
2 Oct 2009 12.04 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF