1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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
This commit is contained in:
Alan Wu 2022-04-25 14:28:39 -04:00 committed by GitHub
parent f4093c5c3b
commit b989c7c6ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-04-26 03:29:11 +09:00
Merged: https://github.com/ruby/ruby/pull/5843

Merged-By: XrXr

View file

@ -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]