bmi_reyna 1.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e81e71b98f5585d44aff721af04c95a96891d20
4
- data.tar.gz: b3fe8117b1dc285ebd6588b2b71ac4692b887f10
3
+ metadata.gz: bf1a369611227c0afba3c76a5aea43bf5bf6e802
4
+ data.tar.gz: 75d033437d15f84c74d4b041d5bba4c1e5712d88
5
5
  SHA512:
6
- metadata.gz: 0dff582bcc95a2be2c0815c2d2d8d3cdf8bad736effd12c2b7f088d6aecaa8468e6c74cea96cf29c9e4543293777589265222943cbc2eed5091c3bd73ed1582d
7
- data.tar.gz: e91af6c399bb589e6a161e9812bdc41559a9739db1cce38daa26e4f56c7170d14b1258c80c41b48f9638d5f8d88447534a4ba4c50a8fb3190b6f90189f131f1a
6
+ metadata.gz: c8d97ecb33096c0976c65712d3fc2a552de1ef0d1e6b92fe011bf7d090d5dd951a8f9a07e527ea5074f7edc46a0bcd2636286c396d4d224f639edeffe348c16a
7
+ data.tar.gz: ef3470dbaa978a1abea359c756027153c744a582b62e1ed5d8b3e59f6b1f18fb34d00000a9b76ae2fa60f9eee45354d5f4b7c3e27b960d96e0c99037c4c8389f
@@ -1,4 +1,4 @@
1
- class CalculaImc
1
+ class BmiReyna
2
2
  attr_reader :height, :mass
3
3
  def initialize (height, mass)
4
4
  @height, @mass = height, mass
@@ -7,5 +7,5 @@ class CalculaImc
7
7
  (@mass/(@height**2)).round(2)
8
8
  end
9
9
  end
10
- x=CalculaImc.new(1.73,68)
11
- puts (x.calculate).to_s
10
+ x=BmiReyna.new(1.8,80)
11
+ puts "asd "+(x.calculate).to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmi_reyna
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reyna Carrillo
@@ -16,7 +16,7 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
- - lib/calcula_imc.rb
19
+ - lib/body.rb
20
20
  homepage: https://github.com/ReynaCarrillo
21
21
  licenses:
22
22
  - MIT