Class: VueCompiler::Token::TagName
- Inherits:
-
Object
- Object
- VueCompiler::Token::TagName
- Defined in:
- lib/vue_component_compiler/token.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ TagName
constructor
A new instance of TagName.
Constructor Details
#initialize(name) ⇒ TagName
Returns a new instance of TagName.
28 29 30 |
# File 'lib/vue_component_compiler/token.rb', line 28 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
26 27 28 |
# File 'lib/vue_component_compiler/token.rb', line 26 def name @name end |