Sha256: 5b7b4812756e6f32c74cc0398bd93dc5a663d41f1d98430afd1fde50336a8a01
Contents?: true
Size: 460 Bytes
Versions: 6
Compression:
Stored size: 460 Bytes
Contents
module WhirledPeas class Config attr_writer :driver, :template_factory attr_accessor :loading_template_factory def driver unless @driver raise ConfigurationError, 'driver must be configured' end @driver end def template_factory unless @template_factory raise ConfigurationError, 'template_factory must be configured' end @template_factory end end private_constant :Config end
Version data entries
6 entries across 6 versions & 1 rubygems