Class: SimpleSplitter
- Inherits:
-
Object
- Object
- SimpleSplitter
- Defined in:
- lib/contador.rb
Instance Attribute Summary collapse
-
#ingredients ⇒ Object
Returns the value of attribute ingredients.
Instance Method Summary collapse
Instance Attribute Details
#ingredients ⇒ Object
Returns the value of attribute ingredients.
2 3 4 |
# File 'lib/contador.rb', line 2 def ingredients @ingredients end |
Instance Method Details
#split ⇒ Object
4 5 6 |
# File 'lib/contador.rb', line 4 def split ingredients.split(" ") end |