Class: OutroRails::GuitarVoicingGenerator::Voicing

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#fretsObject

Returns the value of attribute frets

Returns:

  • (Object)

    the current value of frets



39
40
41
# File 'lib/outro_rails/generators/guitar_voicing_generator.rb', line 39

def frets
  @frets
end

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



39
40
41
# File 'lib/outro_rails/generators/guitar_voicing_generator.rb', line 39

def order
  @order
end

#rankObject

Returns the value of attribute rank

Returns:

  • (Object)

    the current value of rank



39
40
41
# File 'lib/outro_rails/generators/guitar_voicing_generator.rb', line 39

def rank
  @rank
end