$13 GRAYBYTE WORDPRESS FILE MANAGER $84

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.23
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//workspaces.rb
#
#   push-ws.rb -
#   	$Release Version: 0.9.6$
#   	$Revision: 25189 $
#   	by Keiju ISHITSUKA([email protected])
#
# --
#
#
#

module IRB
  class Context

    def irb_level
      workspace_stack.size
    end

    def workspaces
      if defined? @workspaces
	@workspaces
      else
	@workspaces = []
      end
    end

    def push_workspace(*_main)
      if _main.empty?
	if workspaces.empty?
	  print "No other workspace\n"
	  return nil
	end
	ws = workspaces.pop
	workspaces.push @workspace
	@workspace = ws
	return workspaces
      end

      workspaces.push @workspace
      @workspace = WorkSpace.new(@workspace.binding, _main[0])
      if !(class<<main;ancestors;end).include?(ExtendCommandBundle)
	main.extend ExtendCommandBundle
      end
    end

    def pop_workspace
      if workspaces.empty?
	print "workspace stack empty\n"
	return
      end
      @workspace = workspaces.pop
    end
  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