Method: Valise::Strategies::Serialization::Tilt#initialize

Defined in:
lib/valise/adapters/tilt.rb

#initialize(options) ⇒ Tilt

Returns a new instance of Tilt.



11
12
13
14
15
# File 'lib/valise/adapters/tilt.rb', line 11

def initialize(options)
  options ||= {}
  @template_options = options[:template_options] || {}
  @template_cache = options[:template_cache] || self.class.template_cache
end