Module: Music::Transcription::Parsing::NonnegativeRational::NonnegativeRational1
- Defined in:
- lib/music-transcription/parsing/numbers/nonnegative_rational_parsing.rb
Instance Method Summary collapse
- #to_r ⇒ Object (also: #to_num)
Instance Method Details
#to_r ⇒ Object Also known as: to_num
30 31 32 |
# File 'lib/music-transcription/parsing/numbers/nonnegative_rational_parsing.rb', line 30 def to_r text_value.to_r end |