summaryrefslogtreecommitdiff
path: root/lib/irb/context.rb
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2024-11-20 15:02:14 +0000
committergit <[email protected]>2024-11-20 15:02:17 +0000
commit2df2e868bc21e39ac493cebac1c981f1ed279010 ()
tree384da884b1752e0305631228c71e1b6716981220 /lib/irb/context.rb
parent743a31d639d4c96827b1b17f59c829c1ec31abc3 (diff)
[ruby/irb] Move main object's safe call logic to Context
(https://.com/ruby/irb/pull/1034) https://.com/ruby/irb/commit/9750fa23cc
-rw-r--r--lib/irb/context.rb5
1 files changed, 5 insertions, 0 deletions
@@ -704,5 +704,10 @@ module IRB
def local_variables # :nodoc:
workspace.binding.local_variables
end
end
end