Class: Sandals::Container
- Inherits:
-
Object
- Object
- Sandals::Container
- Defined in:
- lib/sandals/view.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
Instance Method Summary collapse
-
#initialize ⇒ Container
constructor
A new instance of Container.
Constructor Details
#initialize ⇒ Container
Returns a new instance of Container.
207 208 209 |
# File 'lib/sandals/view.rb', line 207 def initialize @children = [] end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
205 206 207 |
# File 'lib/sandals/view.rb', line 205 def children @children end |