Class: VueCompiler::Node::TemplateBlock
- Inherits:
-
Object
- Object
- VueCompiler::Node::TemplateBlock
- 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) ⇒ TemplateBlock
constructor
A new instance of TemplateBlock.
Constructor Details
#initialize(body) ⇒ TemplateBlock
Returns a new instance of TemplateBlock.
84 85 86 |
# File 'lib/vue_component_compiler/node.rb', line 84 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
82 83 84 |
# File 'lib/vue_component_compiler/node.rb', line 82 def body @body end |