class Page
Attributes
description[RW]
title[RW]
website[RW]
Public Class Methods
all()
click to toggle source
# File lib/stem-for-women/page_class.rb, line 16 def self.all @@all end
find(index)
click to toggle source
# File lib/stem-for-women/page_class.rb, line 20 def self.find(index) self.all[index-1] end
new(hash)
click to toggle source
# File lib/stem-for-women/page_class.rb, line 7 def initialize(hash) hash.each {|key, value| self.send(("#{key}="), value)} self.class.all << self end
reset_all()
click to toggle source
# File lib/stem-for-women/page_class.rb, line 12 def self.reset_all @@all = [] end