class BodyMassIndex::BodyMassIndex
Attributes
estatura[R]
peso[R]
Public Instance Methods
calcula_indice()
click to toggle source
# File lib/BodyMassIndex.rb, line 11 def calcula_indice (peso/(estatura * estatura)) end
inicializar(peso, estatura)
click to toggle source
# File lib/BodyMassIndex.rb, line 7 def inicializar(peso, estatura) @peso, @estatura = peso,estatura end