Sha256: 2daf50f0e965a69fa412b22f4a36ab3ffc45367f93416aaad5193402abda838d
Contents?: true
Size: 373 Bytes
Versions: 38
Compression:
Stored size: 373 Bytes
Contents
Numeric.class_eval do def km self * Supernova::KM_TO_METER end def meter self.to_f end def mile self * Supernova::MILE_TO_METER end def to_radians self * Supernova::DEG_TO_RADIAN end def to_deg self * Supernova::RADIAN_TO_REG end alias_method :miles, :mile alias_method :kms, :km alias_method :meters, :meter end
Version data entries
38 entries across 38 versions & 1 rubygems