class Uke

Constants

CHORDS
CHORDS_RAW

compare ukulele-chords.com and ukulelehelper.com

ENHARMONIC_EQUIVALENTS
VERSION

Public Instance Methods

print_chord_list() click to toggle source
print_chords(which, style = nil) click to toggle source

Private Instance Methods

chord_name_to_ascii_lines(chord) click to toggle source
# File lib/uke.rb, line 29
def chord_name_to_ascii_lines(chord)
  a = Artii::Base.new# font: 'roman'
  res = [" ", " ", " "]
  res += a.asciify(chord).split($/)
  res += [" "]

  max = res.max_by(&:size).size

  res.map{ |l| "  " + l.ljust(max) }
end