Module: Musa::Neumalang::Neumalang::Parser::AbsDurationAttribute Private
- Includes:
- DurationCalculation
- Defined in:
- lib/musa-dsl/neumalang/neumalang.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Semantic action for absolute duration attribute.
Parses absolute duration: "1/4", "1", "1/2.." (double dotted).
Instance Method Summary collapse
-
#duration ⇒ Rational
included
from DurationCalculation
private
Calculates duration value.
-
#value ⇒ Hash
private
Builds absolute duration structure.
Instance Method Details
#duration ⇒ Rational Originally defined in module DurationCalculation
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Calculates duration value.
#value ⇒ Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Builds absolute duration structure.
733 734 735 |
# File 'lib/musa-dsl/neumalang/neumalang.rb', line 733 def value { abs_duration: duration } end |