Class: Hahamut::Engine

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/hahamut/engine.rb

Overview

Hahamut Engine

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object



11
12
13
# File 'lib/hahamut/engine.rb', line 11

def call(env)
  Handler.new(env).process
end

.setup {|Manager.instance| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/hahamut/engine.rb', line 15

def setup(&_block)
  yield Manager.instance
end