summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2022-04-25 14:28:39 -0400
committerGitHub <noreply@github.com>2022-04-25 14:28:39 -0400
commitb989c7c6ac23f0edb2348b359af9825c39e90bde (patch)
treeef5f1ce4517b4a542ede2dea5f8df9b49f755c13
parentf4093c5c3bbd4f1e3a5390aea76517090e89ae26 (diff)
[DOC] Move :nodoc: so rdoc finds `RbConfig.ruby`
Rdoc [build] of `master` did not have this method but the reference manual [did]. [build]: https://docs.ruby-lang.org/en/master/RbConfig.html [did]: https://docs.ruby-lang.org/ja/master/class/RbConfig.html#S_RUBY
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5843 Merged-By: XrXr
-rwxr-xr-xtool/mkconfig.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 6e23af5185..120b90850d 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -340,7 +340,6 @@ print <<EOS
RbConfig::expand(val)
end
- # :nodoc:
# call-seq:
#
# RbConfig.fire_update!(key, val) -> array
@@ -356,7 +355,7 @@ print <<EOS
# RbConfig::CONFIG.values_at("CC", "LDSHARED") # => ["gcc-8", "gcc-8 -shared"]
#
# returns updated keys list, or +nil+ if nothing changed.
- def RbConfig.fire_update!(key, val, mkconf = MAKEFILE_CONFIG, conf = CONFIG)
+ def RbConfig.fire_update!(key, val, mkconf = MAKEFILE_CONFIG, conf = CONFIG) # :nodoc:
return if mkconf[key] == val
mkconf[key] = val
keys = [key]