lib/head_music/consonance.rb in head_music-6.0.1 vs lib/head_music/consonance.rb in head_music-7.0.0
- old
+ new
@@ -7,10 +7,10 @@
@consonances[name.to_sym] ||= new(name) if LEVELS.include?(name.to_s)
end
attr_reader :name
- delegate :to_s, to: :name
+ delegate :to_s, :to_sym, to: :name
def initialize(name)
@name = name.to_s.to_sym
end