Module: Music::Transcription::Parsing::NonnegativeInteger::NonnegativeInteger0

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

Instance Method Summary collapse

Instance Method Details

#to_iObject Also known as: to_num



16
17
18
# File 'lib/music-transcription/parsing/numbers/nonnegative_integer_parsing.rb', line 16

def to_i
  text_value.to_i
end