Module: Hivent

Extended by:
Hivent
Included in:
Hivent
Defined in:
lib/hivent.rb,
lib/hivent/spec.rb,
lib/hivent/config.rb,
lib/hivent/signal.rb,
lib/hivent/emitter.rb,
lib/hivent/version.rb,
lib/hivent/cli/runner.rb,
lib/hivent/redis/redis.rb,
lib/hivent/spec/signal.rb,
lib/hivent/cli/consumer.rb,
lib/hivent/redis/signal.rb,
lib/hivent/spec/matchers.rb,
lib/hivent/config/options.rb,
lib/hivent/redis/consumer.rb,
lib/hivent/redis/producer.rb,
lib/hivent/abstract_signal.rb,
lib/hivent/redis/extensions.rb,
lib/hivent/spec/matchers/emit.rb,
lib/hivent/cli/start_option_parser.rb,
lib/hivent/life_cycle_event_handler.rb

Defined Under Namespace

Modules: CLI, Config, Redis, Signal, Spec Classes: AbstractSignal, Emitter, LifeCycleEventHandler

Constant Summary collapse

VERSION =
"1.0.5".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.emitterObject



28
29
30
# File 'lib/hivent.rb', line 28

def self.emitter
  @emitter ||= Emitter.new
end

Instance Method Details

#configureObject



24
25
26
# File 'lib/hivent.rb', line 24

def configure
  block_given? ? yield(Hivent::Config) : Hivent::Config
end