Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Yet another BMI library.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
test
.gitignore
.travis.yml
Gemfile
History.md
LICENSE
Manifest.txt
README.md
Rakefile
yabmi.gemspec

README.md

yabmi

Build Status

Description

  • Yet another BMI library.

Features

  • in USA
  • in Japan

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)>

Requirements

Install

$ gem install yabmi

Link

License

The MIT X License

Copyright (c) 2012 Kenichi Kamiya

See the file LICENSE for further details.

Something went wrong with that request. Please try again.