Method: MTK::Groups::PitchClassSet#difference
- Defined in:
- lib/mtk/groups/pitch_class_set.rb
#difference(other) ⇒ Object
the collection of elements from this set with any elements from the other set removed
104 105 106 |
# File 'lib/mtk/groups/pitch_class_set.rb', line 104 def difference(other) self.class.from_a(to_a - other.to_a) end |