Class: Woodchuck::Output
- Inherits:
-
Object
- Object
- Woodchuck::Output
- Defined in:
- lib/woodchuck/output.rb
Defined Under Namespace
Classes: Redis, STDOUT, ZeroMQ
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #handle(event) ⇒ Object
-
#initialize ⇒ Output
constructor
A new instance of Output.
Constructor Details
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/woodchuck/output.rb', line 4 def host @host end |
#logger ⇒ Object
Returns the value of attribute logger.
4 5 6 |
# File 'lib/woodchuck/output.rb', line 4 def logger @logger end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/woodchuck/output.rb', line 4 def type @type end |
Instance Method Details
#handle(event) ⇒ Object
11 12 13 |
# File 'lib/woodchuck/output.rb', line 11 def handle(event) true end |