class FastFoodNutrition::Item

Attributes

name[RW]
nutrition[RW]

Public Class Methods

all() click to toggle source
# File lib/Fast_Food_Nutrition/items.rb, line 9
def self.all
  @@all
end
new(name) click to toggle source
# File lib/Fast_Food_Nutrition/items.rb, line 5
def initialize(name)
  @name = name
end