Class: Bakery::Cake
Instance Method Summary collapse
- #icing ⇒ Object
-
#initialize(parent) ⇒ Cake
constructor
A new instance of Cake.
- #parent ⇒ Object
- #root ⇒ Object
Constructor Details
#initialize(parent) ⇒ Cake
Returns a new instance of Cake.
16 17 18 19 20 |
# File 'lib/bakery/cake.rb', line 16 def initialize parent @parent = parent @root = Dir.pwd @icing = Hash.new end |