method

_load

v4.2.9 - Show latest stable - Class: Time
_load(marshaled_time)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/time/marshal.rb, line 8
      def _load(marshaled_time)
        time = _load_without_zone(marshaled_time)
        time.instance_eval do
          if zone = defined?(@_zone) && remove_instance_variable('@_zone')
            ary = to_a
            ary[0] += subsec if ary[0] == sec
            ary[-1] = zone
            utc? ? Time.utc(*ary) : Time.local(*ary)
          else
            self
          end
        end
      end