Class: VueCompiler::Node::Comment
- Inherits:
-
Object
- Object
- VueCompiler::Node::Comment
- Defined in:
- lib/vue_component_compiler/node.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize(body) ⇒ Comment
Returns a new instance of Comment.
15 16 17 |
# File 'lib/vue_component_compiler/node.rb', line 15 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
13 14 15 |
# File 'lib/vue_component_compiler/node.rb', line 13 def body @body end |