0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
This gem is aimed to convert centimeters to other scales.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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.