Class: Expectant::Configuration
- Inherits:
-
Object
- Object
- Expectant::Configuration
- Defined in:
- lib/expectant/configuration.rb
Instance Attribute Summary collapse
-
#validator_prefix ⇒ Object
Returns the value of attribute validator_prefix.
-
#validator_suffix ⇒ Object
Returns the value of attribute validator_suffix.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_prefix ⇒ Object
Returns the value of attribute validator_prefix.
5 6 7 |
# File 'lib/expectant/configuration.rb', line 5 def validator_prefix @validator_prefix end |
#validator_suffix ⇒ Object
Returns the value of attribute validator_suffix.
5 6 7 |
# File 'lib/expectant/configuration.rb', line 5 def validator_suffix @validator_suffix end |