Sha256: 7ddd92fa2387523893449b63b043239742b53382a74a7aa966e8affecfd8ef4a

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

require 'singleton'

module Hahamut
  # Hahamut Engine
  class Engine
    include Singleton

    class << self
      def call(env)
        Handler.new(env).process
      end

      def setup(&_block)
        yield Manager.instance
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hahamut-0.1.2 lib/hahamut/engine.rb
hahamut-0.1.1 lib/hahamut/engine.rb
hahamut-0.1.0 lib/hahamut/engine.rb