Class: VueCompiler::Node::AttributeName
- Inherits:
-
Object
- Object
- VueCompiler::Node::AttributeName
- Defined in:
- lib/vue_component_compiler/node.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ AttributeName
constructor
A new instance of AttributeName.
Constructor Details
#initialize(name) ⇒ AttributeName
Returns a new instance of AttributeName.
58 59 60 |
# File 'lib/vue_component_compiler/node.rb', line 58 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
56 57 58 |
# File 'lib/vue_component_compiler/node.rb', line 56 def name @name end |