Class: SpecRunQueue::Notifier::Base
- Inherits:
-
Object
- Object
- SpecRunQueue::Notifier::Base
- Defined in:
- lib/spec_run_queue/notifier/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ Base
constructor
A new instance of Base.
- #notify(message, options = {}) ⇒ Object
Constructor Details
#initialize(config = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/spec_run_queue/notifier/base.rb', line 6 def initialize(config = {}) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/spec_run_queue/notifier/base.rb', line 4 def config @config end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/spec_run_queue/notifier/base.rb', line 4 def @message end |
Instance Method Details
#notify(message, options = {}) ⇒ Object
10 11 12 |
# File 'lib/spec_run_queue/notifier/base.rb', line 10 def notify(, = {}) @message = end |