Module: Musicality::Parsing::Key::Key0

Defined in:
lib/musicality/notation/parsing/key_parsing.rb

Instance Method Summary collapse

Instance Method Details

#major_minorObject



25
26
27
# File 'lib/musicality/notation/parsing/key_parsing.rb', line 25

def major_minor
  elements[2]
end

#modObject



21
22
23
# File 'lib/musicality/notation/parsing/key_parsing.rb', line 21

def mod
  elements[1]
end

#pitch_letterObject



17
18
19
# File 'lib/musicality/notation/parsing/key_parsing.rb', line 17

def pitch_letter
  elements[0]
end