Sha256: 0ee19e5ee45db20eb4bc3166be980fd60439bac3c53046f8889b3f38e9c2636d
Contents?: true
Size: 331 Bytes
Versions: 3
Compression:
Stored size: 331 Bytes
Contents
module Barista class Filter def initialize(app) @app = app end def call(env) dup._call(env) end def _call(env) Barista.debug 'Compiling all scripts for barista' if Barista.auto_compile? Barista.compile_all! # Now, actually call the app. @app.call env end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
barista-1.3.0 | lib/barista/filter.rb |
barista-1.2.1 | lib/barista/filter.rb |
barista-1.2.0 | lib/barista/filter.rb |