Class: Mushin::Stack

Inherits:
Middleware::Builder
  • Object
show all
Defined in:
lib/mushin/stack.rb

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Stack

Returns a new instance of Stack.



3
4
5
6
7
8
# File 'lib/mushin/stack.rb', line 3

def initialize &block 
  # let's use `super` to instance_eval inside Middleware::Builder scope
  super
  # Run it!
  call 
end