Sha256: 17c7949ac68de733e13bb3d369ae9d771474e7f0f9e5ee574c49f50474e5d92b

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'active_support/core_ext/numeric'
require 'active_support/core_ext/hash'

require 'evented_bluepill/dsl/app_proxy'

module EventedBluepill
  def self.application(app_name, options = {}, &block)
    app_proxy = AppProxy.new(app_name, options)
    yield(app_proxy)
    app_proxy.app.load
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
evented_bluepill-0.0.52 lib/evented_bluepill/dsl.rb
evented_bluepill-0.0.51 lib/evented_bluepill/dsl.rb
evented_bluepill-0.0.50 lib/evented_bluepill/dsl.rb