Sha256: 4e4b05d4833ab9049390e3f1c303c9815ad547db59b6c06877f10c6d100a9ff8
Contents?: true
Size: 261 Bytes
Versions: 4
Compression:
Stored size: 261 Bytes
Contents
module Conversions #:nodoc: # Defines all the conversion methods (miles, kilometers, etc…) module Ext Unit.conversion.each do |method, _| define_method method do Unit.new self, method end unless respond_to? method end end end
Version data entries
4 entries across 4 versions & 2 rubygems