Class: TreeCard::ContentLineNode

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/treecard/nodes/content_line_node.rb

Instance Method Summary collapse

Instance Method Details

#attributeObject

Returns the TreeCard::Attribute representing this node.



4
5
6
# File 'lib/treecard/nodes/content_line_node.rb', line 4

def attribute
  TreeCard::Attribute.new(name.text_value, param_objects, value.text_value)
end