Class: Stave::Theory::ModeType

Inherits:
Core::DegreeCollection show all
Defined in:
lib/stave/theory/mode_type.rb

Instance Attribute Summary

Attributes inherited from Core::Lookup

#variant

Instance Method Summary collapse

Methods inherited from Core::DegreeCollection

class_key, #count, #intervals, #relative_rotate, #rotate, #steps, #uniq

Methods inherited from Core::Lookup

#==, each_key, find_by, #initialize, keys, string_keys, variant, variant?, variant_lookup, variants, where, with_options

Constructor Details

This class inherits a constructor from Stave::Core::Lookup

Instance Method Details

#degreesObject



14
15
16
# File 'lib/stave/theory/mode_type.rb', line 14

def degrees
  scale_type.relative_rotate(position)
end