Class: Mihari::Enrichers::Base
Class Method Summary
collapse
Instance Method Summary
collapse
#configuration_keys, #configuration_values, #configured?
Class Method Details
.inherited(child) ⇒ Object
9
10
11
12
|
# File 'lib/mihari/enrichers/base.rb', line 9
def inherited(child)
super
Mihari.enrichers << child
end
|
Instance Method Details
#valid? ⇒ Boolean
16
17
18
|
# File 'lib/mihari/enrichers/base.rb', line 16
def valid?
raise NotImplementedError, "You must implement #{self.class}##{__method__}"
end
|