Class: Inputs::Number::Cell
- Inherits:
-
Cell
- Object
- Cell
- Inputs::Number::Cell
- Defined in:
- app/cells/lato_core/inputs/number/cell.rb
Constant Summary collapse
- @@requested_args =
[:name]
- @@default_args =
{ value: '', label: '', placeholder: '', help: '', required: false, disabled: false, min: nil, max: nil, max_length: nil, step: 1, class: 'md-12' }
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Cell
constructor
A new instance of Cell.
- #show ⇒ Object
Constructor Details
#initialize(args = {}) ⇒ Cell
21 22 23 24 25 26 27 28 29 |
# File 'app/cells/lato_core/inputs/number/cell.rb', line 21 def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end |
Instance Method Details
#show ⇒ Object
31 32 33 |
# File 'app/cells/lato_core/inputs/number/cell.rb', line 31 def show render 'show.html' end |