Skip to content

Commit

Permalink
Merge pull request #53376 from jeromedalbert/fix-api-docs-wrong-links
Browse files Browse the repository at this point in the history
Fix incorrect Method and Time API doc links [ci skip]
  • Loading branch information
kamipo committed Oct 19, 2024
1 parent e6a2d72 commit 87fed5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class String
# >> "lj".upcase
# => "LJ"
#
# == Method chaining
# == \Method chaining
#
# All the methods on the Chars proxy which normally return a string will return a Chars object. This allows
# method chaining on the result of any of these methods.
Expand Down
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/core_ext/time/zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def zone
# This method accepts any of the following:
#
# * A \Rails TimeZone object.
# * An identifier for a \Rails TimeZone object (e.g., "Eastern Time (US & Canada)", <tt>-5.hours</tt>).
# * An identifier for a \Rails TimeZone object (e.g., "Eastern \Time (US & Canada)", <tt>-5.hours</tt>).
# * A +TZInfo::Timezone+ object.
# * An identifier for a +TZInfo::Timezone+ object (e.g., "America/New_York").
#
Expand Down
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/time_with_zone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def localtime(utc_offset = nil)
end
alias_method :getlocal, :localtime

# Returns true if the current time is within Daylight Savings Time for the
# Returns true if the current time is within Daylight Savings \Time for the
# specified time zone.
#
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
Expand Down

0 comments on commit 87fed5a

Please sign in to comment.