Class: Brevity::PitchNode

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/brevity/parsing/note/pitch_node.rb

Instance Method Summary collapse

Instance Method Details

#to_pitchObject



45
46
47
48
# File 'lib/brevity/parsing/note/pitch_node.rb', line 45

def to_pitch
  # use the added String#to_pitch method
  text_value.to_pitch
end