Method: Elements::Button::Cell#initialize

Defined in:
app/cells/lato_core/elements/button/cell.rb

#initialize(args = {}) ⇒ Cell

Returns a new instance of Cell.



24
25
26
27
28
29
30
31
32
# File 'app/cells/lato_core/elements/button/cell.rb', line 24

def initialize(args = {})
  @args = validate_args(
    args: args,
    requested_args: @@requested_args,
    default_args: @@default_args
  )

  set_conditions
end