class WholefoodsRecipe::Category
Attributes
title[RW]
url[RW]
Public Class Methods
all()
click to toggle source
# File lib/wholefoods_recipe/category.rb, line 11 def self.all @@all end
new(title, url)
click to toggle source
# File lib/wholefoods_recipe/category.rb, line 5 def initialize(title, url) @title = title @url = url @@all << self end