Displaying 2 results from an estimated 2 matches for "rrational".
Did you mean:
rational
2006 Jul 21
0
Marshal.dump not dumping entire object?
...pment environment.
>> start_time = Runt::PDate.min(Runt::REDay::ANY_DATE.year,
Runt::REDay::ANY_DATE.month,Runt::REDay::ANY_DATE.day, 8, 11)
=> #<Runt::PDate: 3531621371/1440,0,2299161>
>> data = Marshal.dump(start_time)
=> "\004\010u:\020Runt::PDateA\004\010[\010o:\rRational\a:
\017@numeratorl+\a\373C\200\322:\021@denominatori\002\240\005i\000i
\003\031\025#"
>> obj = Marshal.load(data)
=> #<Runt::PDate: 3531621371/1440,0,2299161>
>> start_time.date_precision
=> #<Runt::DPrecision::Precision:0x2753cfc @precision=4>
>> start...
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
...pment environment.
>> start_time = Runt::PDate.min(Runt::REDay::ANY_DATE.year,
Runt::REDay::ANY_DATE.month,Runt::REDay::ANY_DATE.day, 8, 11)
=> #<Runt::PDate: 3531621371/1440,0,2299161>
>> data = Marshal.dump(start_time)
=> "\004\010u:\020Runt::PDateA\004\010[\010o:\rRational\a:
\017@numeratorl+\a\373C\200\322:\021@denominatori\002\240\005i\000i
\003\031\025#"
>> obj = Marshal.load(data)
=> #<Runt::PDate: 3531621371/1440,0,2299161>
>> start_time.date_precision
=> #<Runt::DPrecision::Precision:0x2753cfc @precision=4>
>> start...