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:
Petrik de Heus 2024-06-01 14:25:22 +02:00 committed by GitHub
commit 8336aa7f0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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