Class: Geckoboard::NumberField
- Inherits:
-
OptionalField
- Object
- Field
- OptionalField
- Geckoboard::NumberField
- Defined in:
- lib/geckoboard/field_types.rb
Instance Attribute Summary
Attributes inherited from OptionalField
Attributes inherited from Field
Instance Method Summary collapse
Methods inherited from OptionalField
Methods inherited from Field
Constructor Details
This class inherits a constructor from Geckoboard::OptionalField
Instance Method Details
#to_hash ⇒ Object
38 39 40 |
# File 'lib/geckoboard/field_types.rb', line 38 def to_hash super.merge(type: :number) end |