MeasurementConverter
This is a simple gem that converts a fraction of an inch to a decimal. The gem
contains one Ruby class file and an executable Ruby script that calls a method
in the class file. For example, it will convert 1/64 to 0.015625.
Installation
Add this line to your application's Gemfile:
gem 'measurement_converter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install measurement_converter
Usage
Execution of the Ruby script:
$ measurement-converter {fraction}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request