Methods
Class Public methods
included(base)
Link
# File activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb, line 15 def self.included(base) base.class_eval do remove_possible_method :to_time def to_time if preserve_timezone @_to_time_with_instance_offset ||= getlocal(utc_offset) else @_to_time_with_system_offset ||= getlocal end end end end
Instance Public methods