instance method
freeze
Ruby on Rails 4.0.13
Since v2.2.3Signature
freeze()
No documentation comment.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 340
def freeze
period; utc; time # preload instance variables before freezing
super
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 340
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone