Module: Music::Transcription::Parsing::NonnegativeRational::NonnegativeRational0

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

Instance Method Summary collapse

Instance Method Details

#nonnegative_integerObject



20
21
22
# File 'lib/music-transcription/parsing/numbers/nonnegative_rational_parsing.rb', line 20

def nonnegative_integer
  elements[0]
end

#positive_integerObject



24
25
26
# File 'lib/music-transcription/parsing/numbers/nonnegative_rational_parsing.rb', line 24

def positive_integer
  elements[2]
end