Class: Html::Composite
Overview
Class for compositing nested tags togther and using them multiple times in different contexts.
Instance Method Summary collapse
- #<<(other) ⇒ Object
-
#initialize(first, second) ⇒ Composite
constructor
A new instance of Composite.
Constructor Details
#initialize(first, second) ⇒ Composite
Returns a new instance of Composite.
89 90 91 92 |
# File 'lib/html/base.rb', line 89 def initialize(first, second) @first = first @second = second end |