Class: Stretto::Tokens::RestToken
- Includes:
- WithDurationToken
- Defined in:
- lib/stretto/grammar/tokens/rest_token.rb
Overview
Token from parsing a rest element
Instance Method Summary collapse
-
#to_stretto(pattern = nil) ⇒ MusicElement::Rest
The Rest element constructed.
Methods included from WithDurationToken
Methods inherited from HashToken
Instance Method Details
#to_stretto(pattern = nil) ⇒ MusicElement::Rest
Returns The Rest element constructed.
15 16 17 |
# File 'lib/stretto/grammar/tokens/rest_token.rb', line 15 def to_stretto(pattern = nil) Stretto::MusicElements::Rest.new(self, pattern) end |