summaryrefslogtreecommitdiff
path: root/lib/irb
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
parente73e4b3e9fa696926217b56b26c030570a3686c5 (diff)
[DOC] get rid of parsing as TIDYLINK unintentionally
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/context.rb6
-rw-r--r--lib/irb/ext/use-loader.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index 218f7c6037..4f5460a84c 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -240,7 +240,7 @@ module IRB
attr_accessor :ignore_eof
# Whether to echo the return value to output or not.
#
- # Uses IRB.conf[:ECHO] if available, or defaults to +true+.
+ # Uses <code>IRB.conf[:ECHO]</code> if available, or defaults to +true+.
#
# puts "hello"
# # hello
@@ -251,7 +251,7 @@ module IRB
attr_accessor :echo
# Whether to echo for assignment expressions
#
- # Uses IRB.conf[:ECHO_ON_ASSIGNMENT] if available, or defaults to +false+.
+ # Uses <code>IRB.conf[:ECHO_ON_ASSIGNMENT]</code> if available, or defaults to +false+.
#
# a = "omg"
# IRB.CurrentContext.echo_on_assignment = true
@@ -260,7 +260,7 @@ module IRB
attr_accessor :echo_on_assignment
# Whether a newline is put before multiline output.
#
- # Uses IRB.conf[:NEWLINE_BEFORE_MULTILINE_OUTPUT] if available,
+ # Uses <code>IRB.conf[:NEWLINE_BEFORE_MULTILINE_OUTPUT]</code> if available,
# or defaults to +true+.
#
# "abc\ndef"
diff --git a/lib/irb/ext/use-loader.rb b/lib/irb/ext/use-loader.rb
index cb10e8a254..fdfee1b510 100644
--- a/lib/irb/ext/use-loader.rb
+++ b/lib/irb/ext/use-loader.rb
@@ -47,7 +47,7 @@ module IRB
alias use_loader? use_loader
remove_method :use_loader= if method_defined?(:use_loader=)
- # Sets IRB.conf[:USE_LOADER]
+ # Sets <code>IRB.conf[:USE_LOADER]</code>
#
# See #use_loader for more information.
def use_loader=(opt)