CM Conversion

Build Status

This is a study result at AIIT. This gem is aimed to convert centimeters to following scales:

  • inches
  • yards
  • shaku
  • feet
  • mile

Installation

Add this line to your application's Gemfile:

gem 'cm_conversion'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cm_conversion

Usage

irb(main):001:0> require 'cm_conversion'
=> true
irb(main):002:0> CmConversion::Converter.new.to_feet(1)
=> 0.03280839895013123

License

The gem is available as open source under the terms of the MIT License.