Class: Emque::Consuming::CommandReceivers::HttpServer::Logger
- Inherits:
-
Object
- Object
- Emque::Consuming::CommandReceivers::HttpServer::Logger
- Defined in:
- lib/emque/consuming/command_receivers/http_server.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
Returns the value of attribute method.
-
#sync ⇒ Object
Returns the value of attribute sync.
Instance Method Summary collapse
-
#initialize(method) ⇒ Logger
constructor
A new instance of Logger.
- #puts(str) ⇒ Object (also: #write)
Constructor Details
#initialize(method) ⇒ Logger
Returns a new instance of Logger.
87 88 89 |
# File 'lib/emque/consuming/command_receivers/http_server.rb', line 87 def initialize(method) self.method = method end |
Instance Attribute Details
#method ⇒ Object
Returns the value of attribute method.
85 86 87 |
# File 'lib/emque/consuming/command_receivers/http_server.rb', line 85 def method @method end |
#sync ⇒ Object
Returns the value of attribute sync.
85 86 87 |
# File 'lib/emque/consuming/command_receivers/http_server.rb', line 85 def sync @sync end |