Sha256: 01e6140adc8f2e6bee2900a921d865b5b11970ec8ef2aa7f0d1a4ca024ee39f2
Contents?: true
Size: 406 Bytes
Versions: 22
Compression:
Stored size: 406 Bytes
Contents
module Coltrane module Renderers module TextRenderer class TheoryNoteSetDrawer < BaseDrawer def render case flavor when :marks, :notes, :degrees model.pretty_names.join(' ') when :intervals model.map { |n| (model.first - n).name }.join(' ') else raise WrongFlavorError end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems