Method: Base#to_r

Defined in:
lib/convert_unit/base.rb

#to_rObject



40
41
42
# File 'lib/convert_unit/base.rb', line 40

def to_r;
  "#{value.to_r} #{unit}"
end