@@ -12,7 +12,7 @@ module ActiveSupport
12
12
# * Limit the set of zones provided by TZInfo to a meaningful subset of 134
13
13
# zones.
14
14
# * Retrieve and display zones with a friendlier name
15
- # (e.g., "Eastern Time (US & Canada)" instead of "America/New_York").
15
+ # (e.g., "Eastern \ Time (US & Canada)" instead of "America/New_York").
16
16
# * Lazily load +TZInfo::Timezone+ instances only when they're needed.
17
17
# * Create ActiveSupport::TimeWithZone instances via TimeZone's +local+,
18
18
# +parse+, +at+, and +now+ methods.
@@ -355,7 +355,7 @@ def to_s
355
355
"(GMT#{ formatted_offset } ) #{ name } "
356
356
end
357
357
358
- # Method for creating new ActiveSupport::TimeWithZone instance in time zone
358
+ # \ Method for creating new ActiveSupport::TimeWithZone instance in time zone
359
359
# of +self+ from given values.
360
360
#
361
361
# Time.zone = 'Hawaii' # => "Hawaii"
@@ -365,7 +365,7 @@ def local(*args)
365
365
ActiveSupport ::TimeWithZone . new ( nil , self , time )
366
366
end
367
367
368
- # Method for creating new ActiveSupport::TimeWithZone instance in time zone
368
+ # \ Method for creating new ActiveSupport::TimeWithZone instance in time zone
369
369
# of +self+ from number of seconds since the Unix epoch.
370
370
#
371
371
# Time.zone = 'Hawaii' # => "Hawaii"
@@ -380,7 +380,7 @@ def at(*args)
380
380
Time . at ( *args ) . utc . in_time_zone ( self )
381
381
end
382
382
383
- # Method for creating new ActiveSupport::TimeWithZone instance in time zone
383
+ # \ Method for creating new ActiveSupport::TimeWithZone instance in time zone
384
384
# of +self+ from an ISO 8601 string.
385
385
#
386
386
# Time.zone = 'Hawaii' # => "Hawaii"
@@ -432,7 +432,7 @@ def iso8601(str)
432
432
raise ArgumentError , "invalid date"
433
433
end
434
434
435
- # Method for creating new ActiveSupport::TimeWithZone instance in time zone
435
+ # \ Method for creating new ActiveSupport::TimeWithZone instance in time zone
436
436
# of +self+ from parsed string.
437
437
#
438
438
# Time.zone = 'Hawaii' # => "Hawaii"
@@ -454,7 +454,7 @@ def parse(str, now = now())
454
454
parts_to_time ( Date . _parse ( str , false ) , now )
455
455
end
456
456
457
- # Method for creating new ActiveSupport::TimeWithZone instance in time zone
457
+ # \ Method for creating new ActiveSupport::TimeWithZone instance in time zone
458
458
# of +self+ from an RFC 3339 string.
459
459
#
460
460
# Time.zone = 'Hawaii' # => "Hawaii"
0 commit comments