Class: Lolita::Components::Base
Direct Known Subclasses
Instance Attribute Summary collapse
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(parent) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(parent) ⇒ Base
Returns a new instance of Base.
5 6 7 |
# File 'lib/lolita/components/base.rb', line 5 def initialize(parent) @parent = parent end |
Instance Attribute Details
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
4 5 6 |
# File 'lib/lolita/components/base.rb', line 4 def parent @parent end |