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