Class: VueCompiler::Node::TemplateBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/vue_component_compiler/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



82
83
84
# File 'lib/vue_component_compiler/node.rb', line 82

def body
  @body
end