Class: Avo::Divider

Inherits:
BaseAction
  • Object
show all
Defined in:
lib/avo/divider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject (readonly)

Returns the value of attribute label.



2
3
4
# File 'lib/avo/divider.rb', line 2

def label
  @label
end