Sha256: 1157e7d8cd6e75ed2f269e5ad0f380b8681e3c78b206d3ed2b13dc3af401efd5

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require 'emittance/version'
require 'emittance/registration'
require 'emittance/event'
require 'emittance/event/event_builder'
require 'emittance/emitter'
require 'emittance/watcher'
require 'emittance/action'
require 'emittance/broker'

module Emittance
  class << self
    @enabled = true

    def enabled?
      !!@enabled
    end

    def enable
      @enabled = true
    end

    def disable
      @enabled = false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emittance-0.0.1 lib/emittance.rb