Sha256: 4ec1adfda96fc881a8cf79bc74a6c3cdc6f0f43416868bdd6c895255f60e3ee3

Contents?: true

Size: 173 Bytes

Versions: 4

Compression:

Stored size: 173 Bytes

Contents

class CoffeeRoasters::Roaster
  attr_accessor :name, :location, :bean, :details, :url

  @@all = []

  def self.all
    @@all
  end

  def save
    @@all << self
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coffee_roasters-0.1.4 lib/coffee_roasters/roaster.rb
coffee_roasters-0.1.3 lib/coffee_roasters/roaster.rb
coffee_roasters-0.1.2 lib/coffee_roasters/roaster.rb
coffee_roasters-0.1.0 lib/coffee_roasters/roaster.rb