Class: Elements::Title::Cell

Inherits:
Cell
  • Object
show all
Defined in:
app/cells/lato_core/elements/title/cell.rb

Constant Summary collapse

@@requested_args =
[:label]
@@default_args =
{
  size: 1,
  icon: nil
}

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Cell

Returns a new instance of Cell.



12
13
14
15
16
17
18
19
20
# File 'app/cells/lato_core/elements/title/cell.rb', line 12

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

  set_conditions
end

Instance Method Details

#showObject



22
23
24
# File 'app/cells/lato_core/elements/title/cell.rb', line 22

def show
  render 'show.html'
end