Class: Gitara::Node::Bar::ChordedVersion

Inherits:
Gitara::Node::Base::ChordedVersion show all
Defined in:
lib/gitara/node/bar/chorded_version.rb

Instance Attribute Summary

Attributes inherited from Gitara::Node::Base::NodeVersion

#$1

Instance Method Summary collapse

Methods inherited from Gitara::Node::Base::NodeVersion

#call_name, #call_value, #definition_children, #definition_name, #node, #prefix

Instance Method Details

#valueObject



5
6
7
# File 'lib/gitara/node/bar/chorded_version.rb', line 5

def value
  node.descendants(Node::ChordSet).map(&:chorded).map(&:call_name).join(' ')
end