Class: BMI::WHO

Inherits:
BMI
  • Object
show all
Includes:
CommonRisk
Defined in:
lib/bmi/who.rb

Constant Summary

Constants included from CommonRisk

CommonRisk::LOWER_LIMIT, CommonRisk::UPPER_LIMIT

Constants inherited from BMI

Japan, USA

Constants included from YABMI

YABMI::VERSION

Instance Method Summary collapse

Methods included from CommonRisk

#normal?, #obese?, #overweight?, #prime, #risk, #underweight?, #very_obese?

Methods inherited from BMI

#==, #bmi?, calc, #eql?, #hash, #index, #initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from BMI

Instance Method Details

#very_underweight?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/bmi/who.rb', line 9

def very_underweight?
  @index <= 15
end