Skip to content

Commit 4735418

Browse files
committed
Use :nodoc: for alias_method instead of :stopdoc: [ci-skip]
RDoc 6.7 now hides `alias_method`s marked with `:nodoc:`.
1 parent d97fb45 commit 4735418

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)