Sha256: 0d6fb39f626849754aac1abe6dd5489fb8b341ed8f80eae85d56b2a1e746a9ae

Contents?: true

Size: 305 Bytes

Versions: 31

Compression:

Stored size: 305 Bytes

Contents

# -*- encoding: utf-8 -*-
module Bluepill
  def self.application(app_name, options = {}, &block)
    app_proxy = AppProxy.new(app_name, options)
    if block.arity == 0
      app_proxy.instance_eval &block
    else
      app_proxy.instance_exec(app_proxy, &block)
    end
    app_proxy.app.load
  end
end

Version data entries

31 entries across 31 versions & 6 rubygems

Version Path
bluepill-rwgps-0.0.63 lib/bluepill/dsl.rb
bluepill-rwgps-0.0.62 lib/bluepill/dsl.rb
bluepill-rwgps-0.0.61 lib/bluepill/dsl.rb
cloud66-bluepill-0.0.64 lib/bluepill/dsl.rb
bluepill-0.0.68 lib/bluepill/dsl.rb
bluepill-0.0.67 lib/bluepill/dsl.rb
bluepill-rwgps-0.0.60 lib/bluepill/dsl.rb
bluepill-0.0.66 lib/bluepill/dsl.rb
bluepill-0.0.65 lib/bluepill/dsl.rb
bluepill-0.0.64 lib/bluepill/dsl.rb
cloud66-bluepill-0.0.63 lib/bluepill/dsl.rb
bluepill-0.0.63 lib/bluepill/dsl.rb
cloud66-bluepill-0.0.62 lib/bluepill/dsl.rb
bluepill-0.0.62 lib/bluepill/dsl.rb
bluepill-0.0.61 lib/bluepill/dsl.rb
kostya-bluepill-0.0.60.3 lib/bluepill/dsl.rb
kostya-bluepill-0.0.60.2 lib/bluepill/dsl.rb
kostya-bluepill-0.0.60.1 lib/bluepill/dsl.rb
skalar-bluepill-0.0.60.1 lib/bluepill/dsl.rb
bluepill-0.0.60 lib/bluepill/dsl.rb