Skip to content

Commit 8336aa7

Browse files
authored
Merge pull request rails#51989 from p8/activesupport/improve-alias-method-nodoc
Use `:nodoc:` for `alias_method` instead of `:stopdoc:` [ci-skip]
2 parents d97fb45 + 4735418 commit 8336aa7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

activesupport/lib/active_support/values/time_zone.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ def find_tzinfo(name)
208208
TZInfo::Timezone.get(MAPPING[name] || name)
209209
end
210210

211-
# :stopdoc:
212-
alias_method :create, :new
213-
# :startdoc:
211+
alias_method :create, :new # :nodoc:
214212

215213
# Returns a TimeZone instance with the given name, or +nil+ if no
216214
# such TimeZone instance exists. (This exists to support the use of

0 commit comments

Comments
 (0)