bmi-lestart 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/bmi-lestart.rb +9 -0
  3. metadata +43 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 515d78772ffc36bf8286224e51da84ac43e3d9ed
4
+ data.tar.gz: 16fcc8ada540c0768c04ee37da1e7a423c637a59
5
+ SHA512:
6
+ metadata.gz: 6c54bcd2767737d7ceb4131dad3830dabe550a5c520d60007484a7d5888eb5ebb2c5384675b334b970773c686be6d418ebd24970f46a0277597a0d49429b3208
7
+ data.tar.gz: c38da9c9c6faab18c84bfdd5426785ec85fbf73739c900b25abc3a1dfece5e044d96a7c1aa334cdb749af4d70922ac77119ab86beac368db4301282ea993fcb2
@@ -0,0 +1,9 @@
1
+ class bmi-lestart
2
+ attr_reader :peso, :altura
3
+ def inicializar(peso, altura)
4
+ @peso, @altura = peso, altura
5
+ end
6
+ def calcular_indice
7
+ (peso/(altura**2))
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bmi-lestart
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Carlos Gutierrez
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-11-22 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: bmi-lestart
14
+ email: 11460272@itcolima.edu.mx
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/bmi-lestart.rb
20
+ homepage: http://facebook.com/kal.lestart
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubyforge_project:
39
+ rubygems_version: 2.4.8
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: bmi-lestart
43
+ test_files: []