class KnittingPatterns::Pattern

Attributes

category[RW]
title[RW]
url[RW]

Public Class Methods

all() click to toggle source
# File lib/knitting_patterns/pattern.rb, line 5
def self.all
  @@all
end

Public Instance Methods

save() click to toggle source
# File lib/knitting_patterns/pattern.rb, line 9
def save
  @@all << self
end