summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-07 13:59:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-07 13:59:38 +0900
commitbc646e6715bc0113e800f4d7f4dec7bb34123cc1 (patch)
tree4e1663be22577642481789b1e7d345e912d56204 /lib/irb.rb
parente73e4b3e9fa696926217b56b26c030570a3686c5 (diff)
[DOC] get rid of parsing as TIDYLINK unintentionally
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index ee6979c6d0..f0bbb3cc38 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -271,7 +271,7 @@ require "irb/easter-egg"
# On the other hand, each conf in IRB@Command+line+options is used to
# individually configure IRB.irb.
#
-# If a proc is set for IRB.conf[:IRB_RC], its will be invoked after execution
+# If a proc is set for <code>IRB.conf[:IRB_RC]</code>, its will be invoked after execution
# of that proc with the context of the current session as its argument. Each
# session can be configured using this mechanism.
#
@@ -399,7 +399,7 @@ module IRB
irb.run(@CONF)
end
- # Calls each event hook of IRB.conf[:AT_EXIT] when the current session quits.
+ # Calls each event hook of <code>IRB.conf[:TA_EXIT]</code> when the current session quits.
def IRB.irb_at_exit
@CONF[:AT_EXIT].each{|hook| hook.call}
end