class CFF::ModelPart

ModelPart is the superclass of anything that makes up part of the CFF Index. This includes Index, Person, Entity and Reference.

ModelPart provides only one method for the public API: empty?.

Public Instance Methods

empty? → false click to toggle source

Define empty? for CFF classes so that they can be tested in the same way as strings and arrays.

This always returns false because CFF classes always return something from all of their methods.

# File lib/cff/model_part.rb, line 54
def empty?
  false
end