Sha256: a28cfdd6afb4d1741ff66e0b3dbf9cf992f127346ee694c2c1c3d89799c31dc4
Contents?: true
Size: 409 Bytes
Versions: 11
Compression:
Stored size: 409 Bytes
Contents
module Music module Transcription module Parsing class NumDenNode < Treetop::Runtime::SyntaxNode def to_r text_value.to_r end end class NumOnlyNode < Treetop::Runtime::SyntaxNode def to_r Rational(numerator.text_value.to_i,1) end end class DenOnlyNode < Treetop::Runtime::SyntaxNode def to_r Rational(1,denominator.text_value.to_i) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems