Class: MetadataPresenter::IsNotAnsweredOperator

Inherits:
BaseOperator
  • Object
show all
Defined in:
app/operators/metadata_presenter/is_not_answered_operator.rb

Instance Attribute Summary

Attributes inherited from BaseOperator

#actual, #expected

Instance Method Summary collapse

Methods inherited from BaseOperator

#evaluate_collection?, #initialize

Constructor Details

This class inherits a constructor from MetadataPresenter::BaseOperator

Instance Method Details

#evaluate?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/operators/metadata_presenter/is_not_answered_operator.rb', line 3

def evaluate?
  expected.blank?
end