Class: Inputs::Text::Cell
- Inherits:
-
Cell
- Object
- Cell
- Inputs::Text::Cell
- Defined in:
- app/cells/lato_core/inputs/text/cell.rb
Constant Summary collapse
- @@requested_args =
[:name]
- @@default_args =
{ value: '', label: '', placeholder: '', help: '', required: false, disabled: false, min_length: nil, max_length: nil, class: 'md-12' }
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.
19 20 21 22 23 24 25 26 27 |
# File 'app/cells/lato_core/inputs/text/cell.rb', line 19 def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end |
Instance Method Details
#show ⇒ Object
29 30 31 |
# File 'app/cells/lato_core/inputs/text/cell.rb', line 29 def show render 'show.html' end |