instance method
to_s
Ruby on Rails 4.0.13
Since v2.2.3Signature
to_s()
Returns a textual representation of this time zone.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 248
def to_s
"(GMT#{formatted_offset}) #{name}"
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 248
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone