Class: Longleaf::ConfigurationValidator
- Inherits:
-
Object
- Object
- Longleaf::ConfigurationValidator
- Defined in:
- lib/longleaf/services/configuration_validator.rb
Overview
Abstract configuration validator class
Direct Known Subclasses
ServiceDefinitionValidator, ServiceMappingValidator, StorageLocationValidator
Class Method Summary collapse
Class Method Details
.assert(fail_message, assertion_passed) ⇒ Object (protected)
6 7 8 |
# File 'lib/longleaf/services/configuration_validator.rb', line 6 def assert(, assertion_passed) raise ConfigurationError.new() unless assertion_passed end |