Merge pull request #51989 from p8/activesupport/improve-alias-method-nodoc
Use `:nodoc:` for `alias_method` instead of `:stopdoc:` [ci-skip]
This commit is contained in:
commit
8336aa7f0b
@ -208,9 +208,7 @@ def find_tzinfo(name)
|
||||
TZInfo::Timezone.get(MAPPING[name] || name)
|
||||
end
|
||||
|
||||
# :stopdoc:
|
||||
alias_method :create, :new
|
||||
# :startdoc:
|
||||
alias_method :create, :new # :nodoc:
|
||||
|
||||
# Returns a TimeZone instance with the given name, or +nil+ if no
|
||||
# such TimeZone instance exists. (This exists to support the use of
|
||||
|
Loading…
Reference in New Issue
Block a user