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

Defined Under Namespace

Modules: ValidateOutcome Classes: AdditionalFilter, CommandReturningHash, OutcomeHashFilter

Class Method Summary collapse

Class Method Details

.cache_constants=(val) ⇒ Object



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

def cache_constants=(val)
  @cache_constants = val
end

.cache_constants?Boolean

Returns:

  • (Boolean)


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

def cache_constants?
  @cache_constants
end

.error_message_creatorObject



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

def error_message_creator
  @error_message_creator ||= DefaultErrorMessageCreator.new
end

.error_message_creator=(creator) ⇒ Object



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

def error_message_creator=(creator)
  @error_message_creator = creator
end