instance method
to_s
Ruby on Rails 3.2.22.5
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 239
def to_s
"(GMT#{formatted_offset}) #{name}"
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 239
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone