-
This repository is archived
-
No longer maintained
-
All versions have been yanked from https://rubygems.org for releasing valuable namespace for others
yabmi
Description
-
Yet another BMI library.
Usage
Overview
require 'yabmi'
BMI::USA.calc 50, 1.6 #=> #<BMI::WHO: 19.5(normal)>
BMI::USA.calc 100, 1.6 #=> #<BMI::WHO: 39.1(very_obese)>
BMI::Japan.calc 50, 1.6 #=> #<BMI::JASSO: 19.5(normal)>
BMI::Japan.calc 100, 1.6 #=> #<BMI::JASSO: 39.1(obese3)>
Links
License
The MIT X License Copyright © 2012 Kenichi Kamiya See the file LICENSE for further details.