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