summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index cef6ebc952..f9f39a1def 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -416,11 +416,6 @@ module IRB
irb.run(@CONF)
end
- # Calls each event hook of <code>IRB.conf[:AT_EXIT]</code> when the current session quits.
- def IRB.irb_at_exit
- @CONF[:AT_EXIT].each{|hook| hook.call}
- end
-
# Quits irb
def IRB.irb_exit(irb, ret)
throw :IRB_EXIT, ret
@@ -897,11 +892,6 @@ module IRB
ensure
$VERBOSE = verbose
end
-
- ATTR_TTY = "\e[%sm"
- def ATTR_TTY.[](*a) self % a.join(";"); end
- ATTR_PLAIN = ""
- def ATTR_PLAIN.[](*) self; end
end
def @CONF.inspect