lib/head_music/meter.rb in head_music-0.29.0 vs lib/head_music/meter.rb in head_music-1.0.0
- old
+ new
@@ -80,12 +80,12 @@
end
def beat_unit
@beat_unit ||=
if compound?
- HeadMusic::RhythmicValue.new(HeadMusic::RhythmicUnit.for_denominator_value(bottom_number / 2), dots: 1)
+ HeadMusic::Content::RhythmicValue.new(HeadMusic::RhythmicUnit.for_denominator_value(bottom_number / 2), dots: 1)
else
- HeadMusic::RhythmicValue.new(count_unit)
+ HeadMusic::Content::RhythmicValue.new(count_unit)
end
end
def to_s
[top_number, bottom_number].join("/")