Class: NumberFieldTag
- Inherits:
-
TextFieldTag
- Object
- LiquidumTag
- TextFieldTag
- NumberFieldTag
- Defined in:
- lib/scribo/liquid/tags/number_field_tag.rb
Instance Attribute Summary
Attributes inherited from TextFieldTag
Instance Method Summary collapse
-
#initialize(tag, args, tokens) ⇒ NumberFieldTag
constructor
A new instance of NumberFieldTag.
Methods inherited from TextFieldTag
Constructor Details
#initialize(tag, args, tokens) ⇒ NumberFieldTag
Returns a new instance of NumberFieldTag.
17 18 19 20 |
# File 'lib/scribo/liquid/tags/number_field_tag.rb', line 17 def initialize(tag, args, tokens) super @field_type = 'number' end |