Class: Stretto::Tokens::MeasureToken
Overview
Token result from parsing a measure
- Right now, the only supported measure is “|” TODO: Add support for other measures? (Repeat signs, codas, etc.)
Instance Method Summary collapse
-
#to_stretto(pattern = nil) ⇒ MusicElements::Measure
The constructed Measure element.
Methods inherited from HashToken
Instance Method Details
#to_stretto(pattern = nil) ⇒ MusicElements::Measure
Returns The constructed Measure element.
14 15 16 |
# File 'lib/stretto/grammar/tokens/measure_token.rb', line 14 def to_stretto(pattern = nil) Stretto::MusicElements::Measure.new(self, pattern) end |