Class: Elements::Modal::Cell
- Inherits:
-
Cell
- Object
- Cell
- Elements::Modal::Cell
- Defined in:
- app/cells/lato_core/elements/modal/cell.rb
Constant Summary collapse
- @@requested_args =
[:id, :render]
- @@default_args =
{ title: 'Modal' }
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Cell
constructor
A new instance of Cell.
- #show ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Cell
Returns a new instance of Cell.
11 12 13 14 15 16 17 18 19 |
# File 'app/cells/lato_core/elements/modal/cell.rb', line 11 def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end |
Instance Method Details
#show ⇒ Object
21 22 23 |
# File 'app/cells/lato_core/elements/modal/cell.rb', line 21 def show render 'show.html' end |