Module: BoomNats::Setup
- Included in:
- BoomNats
- Defined in:
- lib/boom_nats/setup.rb
Instance Method Summary collapse
Instance Method Details
#setup(&block) ⇒ Object
4 5 6 7 8 |
# File 'lib/boom_nats/setup.rb', line 4 def setup(&block) BoomNats.application ||= BoomNats::Application.new BoomNats.application.setup(&block) if block_given? BoomNats.application end |