class SoftwareBinder::Software

Attributes

category[R]
description[RW]
name[RW]
overall_rating[RW]
page_slug[RW]
reviews[RW]

Public Class Methods

all() click to toggle source
# File lib/software_binder/software.rb, line 16
def self.all
  @@all
end
new(category) click to toggle source
# File lib/software_binder/software.rb, line 7
def initialize(category)
  @category = category
  self.save
end
reset() click to toggle source
# File lib/software_binder/software.rb, line 20
def self.reset
  @@all.clear
end

Public Instance Methods

save() click to toggle source
# File lib/software_binder/software.rb, line 12
def save
  @@all << self
end