Class: Inputs::Form::Cell
- Inherits:
-
Cell
- Object
- Cell
- Inputs::Form::Cell
- Defined in:
- app/cells/lato_core/inputs/form/cell.rb
Constant Summary collapse
- @@requested_args =
[:url]
- @@default_args =
{ method: 'post', remote: false, class: '', multipart: false }
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(args = {}) ⇒ Cell
constructor
A new instance of Cell.
- #open ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Cell
Returns a new instance of Cell.
14 15 16 17 18 19 20 21 22 |
# File 'app/cells/lato_core/inputs/form/cell.rb', line 14 def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end |
Instance Method Details
#close ⇒ Object
28 29 30 |
# File 'app/cells/lato_core/inputs/form/cell.rb', line 28 def close render 'close.html' end |
#open ⇒ Object
24 25 26 |
# File 'app/cells/lato_core/inputs/form/cell.rb', line 24 def open render 'open.html' end |