Class: Coltrane::Commands::FindCommonChords
- Defined in:
- lib/coltrane/commands/find_common_chords.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Instance Method Details
#run(*scales) ⇒ Object
4 5 6 |
# File 'lib/coltrane/commands/find_common_chords.rb', line 4 def run(*scales) scales.map(&:chords).reduce(&:&) end |