Class: Lolita::Components::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/lolita/components/base.rb

Direct Known Subclasses

Configuration::ColumnComponent

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#parentObject (readonly)

Returns the value of attribute parent.



4
5
6
# File 'lib/lolita/components/base.rb', line 4

def parent
  @parent
end