Class: Morsel::Recipe

Inherits:
Object
  • Object
show all
Defined in:
lib/morsel/recipe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#branchObject

Returns the value of attribute branch.



3
4
5
# File 'lib/morsel/recipe.rb', line 3

def branch
  @branch
end

#filesObject

Returns the value of attribute files.



3
4
5
# File 'lib/morsel/recipe.rb', line 3

def files
  @files
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/morsel/recipe.rb', line 3

def name
  @name
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/morsel/recipe.rb', line 3

def url
  @url
end