Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby33 /
share /
ruby /
irb /
ext /
Delete
Unzip
Name
Size
Permission
Date
Action
change-ws.rb
939
B
-rw-r--r--
2026-04-07 17:22
eval_history.rb
3.63
KB
-rw-r--r--
2026-04-07 17:22
loader.rb
3.23
KB
-rw-r--r--
2026-04-07 17:22
multi-irb.rb
6.37
KB
-rw-r--r--
2026-04-07 17:22
tracer.rb
1.17
KB
-rw-r--r--
2026-04-07 17:22
use-loader.rb
1.82
KB
-rw-r--r--
2026-04-07 17:22
workspaces.rb
1.08
KB
-rw-r--r--
2026-04-07 17:22
Save
Rename
# frozen_string_literal: true # # push-ws.rb - # by Keiju ISHITSUKA(keiju@ruby-lang.org) # module IRB # :nodoc: class Context # Creates a new workspace with the given object or binding, and appends it # onto the current #workspaces stack. # # See IRB::Context#change_workspace and IRB::WorkSpace.new for more # information. def push_workspace(*_main) if _main.empty? if @workspace_stack.size > 1 # swap the top two workspaces previous_workspace, current_workspace = @workspace_stack.pop(2) @workspace_stack.push current_workspace, previous_workspace end else new_workspace = WorkSpace.new(workspace.binding, _main[0]) @workspace_stack.push new_workspace new_workspace.load_helper_methods_to_main end end # Removes the last element from the current #workspaces stack and returns # it, or +nil+ if the current workspace stack is empty. # # Also, see #push_workspace. def pop_workspace @workspace_stack.pop if @workspace_stack.size > 1 end end end