Class: OutroRails::Theory::NashvilleNumber::ParseResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/outro_rails/theory/nashville_number.rb

Overview

A parsed symbol: scale degree 1-7, its chromatic offset, and the quality and extension, either of which may be nil.

Instance Attribute Summary collapse

Instance Attribute Details

#accidental_offsetObject

Returns the value of attribute accidental_offset

Returns:

  • (Object)

    the current value of accidental_offset



65
66
67
# File 'lib/outro_rails/theory/nashville_number.rb', line 65

def accidental_offset
  @accidental_offset
end

#degreeObject

Returns the value of attribute degree

Returns:

  • (Object)

    the current value of degree



65
66
67
# File 'lib/outro_rails/theory/nashville_number.rb', line 65

def degree
  @degree
end

#extensionObject

Returns the value of attribute extension

Returns:

  • (Object)

    the current value of extension



65
66
67
# File 'lib/outro_rails/theory/nashville_number.rb', line 65

def extension
  @extension
end

#qualityObject

Returns the value of attribute quality

Returns:

  • (Object)

    the current value of quality



65
66
67
# File 'lib/outro_rails/theory/nashville_number.rb', line 65

def quality
  @quality
end