class Mushin::Store
TODO maybe use refinements instead of inheritance for `using Mushin::Ext`
Public Class Methods
new(ext, opts = {}, params= {})
click to toggle source
# File lib/mushin/store.rb, line 4 def initialize(ext, opts = {}, params= {}) @ext = ext @opts = opts @params = params end
Public Instance Methods
call(env)
click to toggle source
# File lib/mushin/store.rb, line 10 def call(env) env ||= Hash.new @ext.call(env) return env end