Method: QDA::CodingTable#codes?

Defined in:
lib/weft/coding.rb

#codes?(doc) ⇒ Boolean

returns true if this coding table contains coding for the document doc

Returns:

  • (Boolean)


277
278
279
# File 'lib/weft/coding.rb', line 277

def codes?(doc)
  key?(doc.dbid) and self[doc.dbid].length > 0
end