Sha256: f65188d554c1db2c86d7e870def16bab62f6f8aca31759a0bc55b64f5ef05361
Contents?: true
Size: 361 Bytes
Versions: 10
Compression:
Stored size: 361 Bytes
Contents
class Time unless method_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
10 entries across 9 versions & 2 rubygems