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