Class: Expectant::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/expectant/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
# File 'lib/expectant/configuration.rb', line 7

def initialize
  @validator_prefix = nil # default: no prefix
  @validator_suffix = "rule" # default: schema_name_rule
end

Instance Attribute Details

#validator_prefixObject

Returns the value of attribute validator_prefix.



5
6
7
# File 'lib/expectant/configuration.rb', line 5

def validator_prefix
  @validator_prefix
end

#validator_suffixObject

Returns the value of attribute validator_suffix.



5
6
7
# File 'lib/expectant/configuration.rb', line 5

def validator_suffix
  @validator_suffix
end