class Recipe

Attributes

description[RW]
directions[RW]
name[RW]
recipe_ingredients[RW]
servings[RW]
time[RW]
url[RW]

Public Class Methods

all() click to toggle source
# File lib/food_ideas/recipe.rb, line 15
def self.all
  @@all_recipes
end
clear() click to toggle source
# File lib/food_ideas/recipe.rb, line 11
def self.clear
  @@all_recipes.clear
end
new() click to toggle source
# File lib/food_ideas/recipe.rb, line 7
def initialize
  @@all_recipes << self
end