Class: Loggun::Modifiers::Base
- Inherits:
-
Object
- Object
- Loggun::Modifiers::Base
show all
- Includes:
- Singleton
- Defined in:
- lib/loggun/modifiers/base.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.use ⇒ Object
9
10
11
|
# File 'lib/loggun/modifiers/base.rb', line 9
def use
instance.apply
end
|
Instance Method Details
#apply ⇒ Object
14
15
16
|
# File 'lib/loggun/modifiers/base.rb', line 14
def apply
raise NotImplementedError, 'You must implement #apply in your modifier.'
end
|
#config ⇒ Object
18
19
20
|
# File 'lib/loggun/modifiers/base.rb', line 18
def config
Loggun::Config.instance
end
|