Class: Ehbrs::CookingBook::Recipe::Ingredient
- Inherits:
-
Object
- Object
- Ehbrs::CookingBook::Recipe::Ingredient
- Defined in:
- lib/ehbrs/cooking_book/recipe/ingredient.rb
Class Method Summary collapse
Class Method Details
.build(label, value) ⇒ Object
11 12 13 |
# File 'lib/ehbrs/cooking_book/recipe/ingredient.rb', line 11 def build(label, value) new(label, ::Ehbrs::CookingBook::Recipe::Measure.build(value)) end |