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:
parent
f4093c5c3b
commit
b989c7c6ac
Notes:
git
2022-04-26 03:29:11 +09:00
Merged: https://github.com/ruby/ruby/pull/5843 Merged-By: XrXr
1 changed files with 1 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue