Method: QDA::CodingTable#remove
- Defined in:
- lib/weft/coding.rb
#remove(other) ⇒ Object
Removes all coding from this table that occurs in the other table other
, modifying this CodingTable in place
304 305 306 307 308 309 310 |
# File 'lib/weft/coding.rb', line 304 def remove(other) results = self.class.new() each do | docid, codes | results.set(docid, codes.exclude( other[docid] ) ) end return results end |