Sha256: 239f72cecdfa8d571b2e819f374394c9a9be3dc4178ae0f817ae3b5129f5d613
Contents?: true
Size: 351 Bytes
Versions: 32
Compression:
Stored size: 351 Bytes
Contents
class Numeric def nsdate NSDate.dateWithTimeIntervalSince1970(self) end def before(date) date - self end def ago self.before(NSDate.new) end def after(date) date + self end def hence self.after(NSDate.new) end end class Fixnum def nstimezone NSTimeZone.timeZoneForSecondsFromGMT(self) end end
Version data entries
32 entries across 32 versions & 1 rubygems