Class: Brevity::PitchNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Brevity::PitchNode
- Defined in:
- lib/brevity/parsing/note/pitch_node.rb
Instance Method Summary collapse
Instance Method Details
#to_pitch ⇒ Object
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 |