Wilksformula
Gem to calculate the Wilks formula
Installation
Add this line to your application's Gemfile:
gem 'wilksformula'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wilksformula
Usage
Wilksformula.men_formula(weight,total)
Wilksformula.women_formula(weight,total)
Example
Wilksformula.men_formula(60,600) # 511.74
Contributing
- Fork it ( http://github.com/masayukioguni/wilksformula/fork )
- 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