method
utc_offset
v3.0.9 -
Show latest stable
- Class:
ActiveSupport::TimeZone
utc_offset()public
No documentation available.
# File activesupport/lib/active_support/values/time_zone.rb, line 210
def utc_offset
if @utc_offset
@utc_offset
else
@current_period ||= tzinfo.try(:current_period)
@current_period.try(:utc_offset)
end
end