Class: Morsel::Recipe
- Inherits:
-
Object
- Object
- Morsel::Recipe
- Defined in:
- lib/morsel/recipe.rb
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#files ⇒ Object
Returns the value of attribute files.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(name) ⇒ Recipe
constructor
A new instance of Recipe.
Constructor Details
#initialize(name) ⇒ Recipe
Returns a new instance of Recipe.
5 6 7 |
# File 'lib/morsel/recipe.rb', line 5 def initialize(name) @name = name end |
Instance Attribute Details
#branch ⇒ Object
Returns the value of attribute branch.
3 4 5 |
# File 'lib/morsel/recipe.rb', line 3 def branch @branch end |
#files ⇒ Object
Returns the value of attribute files.
3 4 5 |
# File 'lib/morsel/recipe.rb', line 3 def files @files end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/morsel/recipe.rb', line 3 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/morsel/recipe.rb', line 3 def url @url end |