class Curlybars::Configuration

Attributes

cache[RW]
compiler_transformers[RW]
custom_processors[RW]
global_helpers_provider_classes[RW]
nesting_limit[RW]
output_limit[RW]
presenters_namespace[RW]
rendering_timeout[RW]
traversing_limit[RW]

Public Class Methods

new() click to toggle source
# File lib/curlybars/configuration.rb, line 21
def initialize
  @presenters_namespace = ''
  @nesting_limit = 10
  @traversing_limit = 10
  @output_limit = 1.megabyte
  @rendering_timeout = 10.seconds
  @custom_processors = []
  @compiler_transformers = []
  @global_helpers_provider_classes = []
  @cache = ->(key, &block) { block.call }
end