Module: Music::Transcription::Parsing::NonnegativeRational::NonnegativeRational1

Defined in:
lib/music-transcription/parsing/numbers/nonnegative_rational_parsing.rb

Instance Method Summary collapse

Instance Method Details

#to_rObject 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