lib/head_music/consonance.rb in head_music-0.8.0 vs lib/head_music/consonance.rb in head_music-0.10.0

- old
+ new

@@ -3,10 +3,9 @@ def self.get(name) @consonances ||= {} @consonances[name.to_sym] ||= new(name) if LEVELS.include?(name.to_s) end - singleton_class.send(:alias_method, :[], :get) attr_reader :name delegate :to_s, to: :name