Class: VueCompiler::Node::Comment

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) ⇒ 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

#bodyObject (readonly)

Returns the value of attribute body.



13
14
15
# File 'lib/vue_component_compiler/node.rb', line 13

def body
  @body
end