instance method
time
Ruby on Rails 8.0.4
Since v2.2.3Signature
time()
Returns a Time instance that represents the time in time_zone.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 58
def time
@time ||= incorporate_utc_offset(@utc, utc_offset)
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 58
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone