Module: Mindee::Parsing::Common::Extras

Defined in:
lib/mindee/parsing/common/extras/extras.rb,
lib/mindee/parsing/common/extras/cropper_extra.rb,
lib/mindee/parsing/common/extras/full_text_ocr_extra.rb

Overview

Extras namespace.

Defined Under Namespace

Classes: CropperExtra, Extras, FullTextOCRExtra

Instance Method Summary collapse

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/mindee/parsing/common/extras/extras.rb', line 44

def empty?
  instance_variables.all? { |var| instance_variable_get(var).nil? }
end