class FastFoodNutrition::Category
Attributes
items[RW]
name[RW]
Public Class Methods
all()
click to toggle source
# File lib/Fast_Food_Nutrition/category.rb, line 10 def self.all @@all end
new(name)
click to toggle source
# File lib/Fast_Food_Nutrition/category.rb, line 5 def initialize(name) @name = name @@all << self end