Skip to content

Commit 87fed5a

Browse files
committed
Merge pull request #53376 from jeromedalbert/fix-api-docs-wrong-links
Fix incorrect Method and Time API doc links [ci skip]
1 parent e6a2d72 commit 87fed5a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

activesupport/lib/active_support/core_ext/string/multibyte.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class String
1919
# >> "lj".upcase
2020
# => "LJ"
2121
#
22-
# == Method chaining
22+
# == \Method chaining
2323
#
2424
# All the methods on the Chars proxy which normally return a string will return a Chars object. This allows
2525
# method chaining on the result of any of these methods.

activesupport/lib/active_support/core_ext/time/zones.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def zone
2020
# This method accepts any of the following:
2121
#
2222
# * A \Rails TimeZone object.
23-
# * An identifier for a \Rails TimeZone object (e.g., "Eastern Time (US & Canada)", <tt>-5.hours</tt>).
23+
# * An identifier for a \Rails TimeZone object (e.g., "Eastern \Time (US & Canada)", <tt>-5.hours</tt>).
2424
# * A +TZInfo::Timezone+ object.
2525
# * An identifier for a +TZInfo::Timezone+ object (e.g., "America/New_York").
2626
#

activesupport/lib/active_support/time_with_zone.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def localtime(utc_offset = nil)
8585
end
8686
alias_method :getlocal, :localtime
8787

88-
# Returns true if the current time is within Daylight Savings Time for the
88+
# Returns true if the current time is within Daylight Savings \Time for the
8989
# specified time zone.
9090
#
9191
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'

0 commit comments

Comments
 (0)