Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/musicality/composition/model/rhythm.rb,
lib/musicality/composition/model/rhythm_class.rb

Instance Method Summary collapse

Instance Method Details

#to_rhythmObject



30
31
32
# File 'lib/musicality/composition/model/rhythm.rb', line 30

def to_rhythm
  Musicality::Rhythm.new(self)
end

#to_rhythm_classObject



27
28
29
# File 'lib/musicality/composition/model/rhythm_class.rb', line 27

def to_rhythm_class
  Musicality::RhythmClass.new(self)
end