Class: Rational
- Inherits:
-
Object
- Object
- Rational
- Defined in:
- lib/mext/music/meter.rb
Overview
we extend the Rational
class to carry a to_meter
which will convert a into a Meter class
Instance Method Summary collapse
Instance Method Details
#to_meter ⇒ Object
85 86 87 |
# File 'lib/mext/music/meter.rb', line 85 def to_meter Meter(self.numerator, self.denominator) end |