Sha256: bf1490def5f414ba5dedb24cea0f1d6b20ececcacec8883f0c2a997dc3bedf45
Contents?: true
Size: 351 Bytes
Versions: 7
Compression:
Stored size: 351 Bytes
Contents
class Time unless defined? to_time #1.9 # To be able to keep Dates and Times interchangeable # on conversions. def to_time getlocal end # A method to keep Time, Date and DateTime instances interchangeable on conversions. # In this case, it simply returns +self+. #def to_time # self #end end end
Version data entries
7 entries across 7 versions & 2 rubygems