Skip to content

Commit

Permalink
fixing1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandrDiaz committed Dec 21, 2018
1 parent e8f2229 commit d5f19b5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
service_name: travis-pro
service_name: travis-ci
2 changes: 1 addition & 1 deletion lib/menud/array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def bubbleach



end
end



Expand Down
11 changes: 7 additions & 4 deletions lib/menud/menud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def initialize(nombre, apellidos, edad, genero, peso, talla, cadera, cintura, im
end

# Method to transform into string
=begin
def to_s
super :nombre, :apellidos
Expand Down Expand Up @@ -244,7 +245,7 @@ def to_f
end

=end



Expand Down Expand Up @@ -291,16 +292,17 @@ def initialize(netiqueta, venergeticokJ, venergeticokcal, cantgrasas, cantgrasas
@sales = sales

end

# Method to transform into string
=begin
def to_s
#"#{@netiqueta}\n#{@venergeticokJ}\n#{@venergeticokcal}\n#{@cantgrasas}\n#{@cantgrasasat}\n#{@hidratosc})\n#{@azucares}\n#{@fibraa}\n#{@proteinas}\n#{@sales}"
"#{@netiqueta}"
end
=end

#Method to get the value of proteins and do the comparison
def <=> (other)
Expand All @@ -311,6 +313,7 @@ def <=> (other)
end

#Method to transform into float
=begin
def to_f
"#{@venergeticokJ}"
Expand All @@ -324,7 +327,7 @@ def to_f
end

=end

end

Expand Down

0 comments on commit d5f19b5

Please sign in to comment.