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