Skip to content

Instantly share code, notes, and snippets.

class Dog
attr_accessor :breed, :color, :description
def Dog.description
# Return @@description, unless it's nil, in that case return a fixed string.
@@description ||= "All dogs are 4 legged animals that bark."
end
def Dog.description=(new_description)
@@description = new_description

Ingredients

~3 lbs each:

  • Buckwheat (toasted)
  • Hemp Hearts

~1 lb each:

  • Flax Seeds (whole)