Class: VueCompiler::Node::Text
- Inherits:
-
Object
- Object
- VueCompiler::Node::Text
- Defined in:
- lib/vue_component_compiler/node.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Text
constructor
A new instance of Text.
Constructor Details
#initialize(content) ⇒ Text
Returns a new instance of Text.
33 34 35 |
# File 'lib/vue_component_compiler/node.rb', line 33 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
31 32 33 |
# File 'lib/vue_component_compiler/node.rb', line 31 def content @content end |