class CoffeeBreak::Beans
Attributes
details[RW]
Display collection of coffee with corresponding attributes
label[RW]
Display collection of coffee with corresponding attributes
link[RW]
Display collection of coffee with corresponding attributes
name[RW]
Display collection of coffee with corresponding attributes
price[RW]
Display collection of coffee with corresponding attributes
Public Class Methods
all()
click to toggle source
# File lib/beans.rb, line 22 def self.all @@all end
new(name, label, price, link, details=nil)
click to toggle source
# File lib/beans.rb, line 13 def initialize(name, label, price, link, details=nil) @name = name @label = label @price = price @details = details @link = link @@all << self end