Module: Yunhe
- Defined in:
- lib/yunhe.rb,
lib/yunhe/core.rb,
lib/yunhe/version.rb,
lib/yunhe/consumer.rb,
lib/yunhe/producer.rb
Defined Under Namespace
Classes: Consumer, Core, Producer
Constant Summary collapse
- DEFAULT_OPTIONS =
Default options for new yunhe
{ producer_size: 1, consumer_size: 5, queue_size: 100, }
- VERSION =
'0.0.2'
Class Method Summary collapse
Class Method Details
.build(options = {}) ⇒ Object
15 16 17 18 |
# File 'lib/yunhe.rb', line 15 def self.build(={}) = DEFAULT_OPTIONS.merge() return Core.new() end |