Module: Mutations

Defined in:
lib/mutations/version.rb,
lib/mutations_validate_outcome.rb,
lib/mutations/additional_filter.rb,
lib/mutations/outcome_hash_filter.rb,
lib/mutations/command_returning_hash.rb,
lib/mutations/command_returning_array.rb

Defined Under Namespace

Modules: ValidateOutcome Classes: AdditionalFilter, Command, CommandReturningArray, CommandReturningHash, HashFilter, OutcomeHashFilter, ValidationException, YoValidationException

Class Method Summary collapse

Class Method Details

.cache_constants=(val) ⇒ Object



44
45
46
# File 'lib/mutations_validate_outcome.rb', line 44

def cache_constants=(val)
  @cache_constants = val
end

.cache_constants?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/mutations_validate_outcome.rb', line 48

def cache_constants?
  @cache_constants
end

.error_message_creatorObject



36
37
38
# File 'lib/mutations_validate_outcome.rb', line 36

def error_message_creator
  @error_message_creator ||= DefaultErrorMessageCreator.new
end

.error_message_creator=(creator) ⇒ Object



40
41
42
# File 'lib/mutations_validate_outcome.rb', line 40

def error_message_creator=(creator)
  @error_message_creator = creator
end