Sha256: 7abf8f2b9bc0b715dd19fc0a31c2fb54bc8c963dc25c86ba0d1cfa0cb4789883
Contents?: true
Size: 443 Bytes
Versions: 4
Compression:
Stored size: 443 Bytes
Contents
module Aerogel::Render # A render scope is to be incluced in other module or class. # Provides access to render methods and helpers. # module Scope def self.included(mod) mod.instance_eval do include Sinatra::Templates include Aerogel::Helpers end end def template_cache @template_cache ||= Tilt::Cache.new end def settings Aerogel::Application end end # module Scope end # module Aerogel::Render
Version data entries
4 entries across 4 versions & 1 rubygems