lib/message_driver/destination.rb in message-driver-0.3.0 vs lib/message_driver/destination.rb in message-driver-0.4.0

- old
+ new

@@ -16,18 +16,18 @@ def pop_message(options={}) adapter.broker.client.pop_message(self, options) end - def after_initialize(adapter_context) + def after_initialize(_adapter_context) #does nothing, feel free to override as needed end def message_count raise "#message_count is not supported by #{self.class}" end - def subscribe(&consumer) + def subscribe(&_consumer) raise "#subscribe is not supported by #{self.class}" end end end end