Sha256: 639f29a5b35e2441dea412d2809d4ed6b138b9e975e7c6ef1b0ab49ffd6d0ef8

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

module BoomNats::Setup
  mattr_accessor :application

  def setup(&block)
    BoomNats.application ||= BoomNats::Application.new
    BoomNats.application.setup(&block) if block_given?
    BoomNats.application
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
boom_nats-0.1.5 lib/boom_nats/setup.rb
boom_nats-0.1.4 lib/boom_nats/setup.rb
boom_nats-0.1.3 lib/boom_nats/setup.rb
boom_nats-0.1.2 lib/boom_nats/setup.rb
boom_nats-0.1.1 lib/boom_nats/setup.rb
boom_nats-0.1.0 lib/boom_nats/setup.rb