Class: Blabbermouth::Bystanders::Base
- Inherits:
-
Object
- Object
- Blabbermouth::Bystanders::Base
- Defined in:
- lib/blabbermouth/bystanders/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #count(key, total, *args) ⇒ Object
- #error(key, e, *args) ⇒ Object
- #increment(key, by = 1, *args) ⇒ Object
- #info(key, msg = nil, *args) ⇒ Object
- #time(key, duration = nil, *args) ⇒ Object
Instance Method Details
#count(key, total, *args) ⇒ Object
16 17 18 |
# File 'lib/blabbermouth/bystanders/base.rb', line 16 def count(key, total, *args) raise NotImplementedError, "#{self.class.name}##{__method__} has not been implemented" end |
#error(key, e, *args) ⇒ Object
4 5 6 |
# File 'lib/blabbermouth/bystanders/base.rb', line 4 def error(key, e, *args) raise NotImplementedError, "#{self.class.name}##{__method__} has not been implemented" end |
#increment(key, by = 1, *args) ⇒ Object
12 13 14 |
# File 'lib/blabbermouth/bystanders/base.rb', line 12 def increment(key, by=1, *args) raise NotImplementedError, "#{self.class.name}##{__method__} has not been implemented" end |
#info(key, msg = nil, *args) ⇒ Object
8 9 10 |
# File 'lib/blabbermouth/bystanders/base.rb', line 8 def info(key, msg=nil, *args) raise NotImplementedError, "#{self.class.name}##{__method__} has not been implemented" end |
#time(key, duration = nil, *args) ⇒ Object
20 21 22 |
# File 'lib/blabbermouth/bystanders/base.rb', line 20 def time(key, duration=nil, *args) raise NotImplementedError, "#{self.class.name}##{__method__} has not been implemented" end |