Class: Widgets::Index::Cell
- Inherits:
-
Cell
- Object
- Cell
- Widgets::Index::Cell
- Defined in:
- app/cells/lato_core/widgets/index/cell.rb
Constant Summary collapse
- @@requested_args =
[:records]
- @@default_args =
{ head: [], columns: [], index_url: nil, pagination: false, search: false, actions: { show: false, edit: false, delete: false, new: false }, table: { fixed: false, height: nil }, table_body: { hover: false }, actions_on_start: false }
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.
31 32 33 34 35 36 37 38 39 |
# File 'app/cells/lato_core/widgets/index/cell.rb', line 31 def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end |
Instance Method Details
#show ⇒ Object
41 42 43 |
# File 'app/cells/lato_core/widgets/index/cell.rb', line 41 def show render 'show.html' end |