Class: Avo::Divider
- Inherits:
-
BaseAction
- Object
- BaseAction
- Avo::Divider
- Defined in:
- lib/avo/divider.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ Divider
constructor
A new instance of Divider.
Constructor Details
#initialize(**kwargs) ⇒ Divider
Returns a new instance of Divider.
4 5 6 7 |
# File 'lib/avo/divider.rb', line 4 def initialize(**kwargs) @label = kwargs[:label] @view = kwargs[:view] end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
2 3 4 |
# File 'lib/avo/divider.rb', line 2 def label @label end |