Class: RedisCounters::Dumpers::Dsl::Engine::Configuration

Inherits:
Base
  • Object
show all
Defined in:
lib/redis_counters/dumpers/dsl/engine.rb

Instance Attribute Summary

Attributes inherited from Base

#target

Instance Method Summary collapse

Methods inherited from Base

callback_setter, #initialize, setter, varags_setter

Constructor Details

This class inherits a constructor from RedisCounters::Dumpers::Dsl::Base

Instance Method Details

#destination(&block) ⇒ Object



24
25
26
# File 'lib/redis_counters/dumpers/dsl/engine.rb', line 24

def destination(&block)
  engine.destinations << ::RedisCounters::Dumpers::Destination.build(engine, &block)
end