Sha256: ca4909b87e8f5397cc71fe68124dda2224e2b6cf042bc086a00ca8d6420dfbd1
Contents?: true
Size: 640 Bytes
Versions: 12
Compression:
Stored size: 640 Bytes
Contents
module Blocks module Configurator extend ActiveSupport::Concern included do include DynamicConfiguration add_config :builder_class add_config :renderer_class add_config :global_options_set add_config :lookup_caller_location, instance_predicate: true reset_config end module ClassMethods def reset_config configure do |config| config.builder_class = Builder config.renderer_class = Renderer config.lookup_caller_location = false config.global_options_set = OptionsSet.new("Global Options") end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems