class MemoRack::BaseLocals

Attributes

app[R]

Public Class Methods

new(app, hash = nil, ifnone = nil) click to toggle source
Calls superclass method
# File lib/memorack/locals/base.rb, line 12
def initialize(app, hash = nil, ifnone = nil)
        super ifnone

        @app = app
        merge!(hash) if hash

        self[:app] = AppLocals[]
end