class AutomationObject::BluePrint::HashAdapter::Validators::Validate

Super-class for validators, contains base functionality Sub-classes must implement validate for the composite

Attributes

error_messages[RW]

Public Instance Methods

valid?() click to toggle source

@return [Boolean] whether or not validation passed or failed

# File lib/automation_object/blue_print/hash_adapter/helpers/validators/validate.rb, line 20
def valid?
  error_messages.length.zero? ? true : false
end