Class: OutroRails::GuitarVoicingGenerator::Voicing
- Inherits:
-
Struct
- Object
- Struct
- OutroRails::GuitarVoicingGenerator::Voicing
- Defined in:
- lib/outro_rails/generators/guitar_voicing_generator.rb
Overview
One candidate grip: its { string => fret } map plus the rank and tie-breaking order used to sort voicings within a starting fret.
Instance Attribute Summary collapse
-
#frets ⇒ Object
Returns the value of attribute frets.
-
#order ⇒ Object
Returns the value of attribute order.
-
#rank ⇒ Object
Returns the value of attribute rank.
Instance Attribute Details
#frets ⇒ Object
Returns the value of attribute frets
39 40 41 |
# File 'lib/outro_rails/generators/guitar_voicing_generator.rb', line 39 def frets @frets end |
#order ⇒ Object
Returns the value of attribute order
39 40 41 |
# File 'lib/outro_rails/generators/guitar_voicing_generator.rb', line 39 def order @order end |
#rank ⇒ Object
Returns the value of attribute rank
39 40 41 |
# File 'lib/outro_rails/generators/guitar_voicing_generator.rb', line 39 def rank @rank end |