Class: Spandx::Core::Plugin
- Inherits:
-
Object
- Object
- Spandx::Core::Plugin
show all
- Extended by:
- Registerable
- Defined in:
- lib/spandx/core/plugin.rb
Class Method Summary
collapse
Instance Method Summary
collapse
all, each, inherited, registry
Class Method Details
.enhance(dependency) ⇒ Object
13
14
15
16
17
|
# File 'lib/spandx/core/plugin.rb', line 13
def enhance(dependency)
Plugin.all.inject(dependency) do |memo, plugin|
plugin.enhance(memo)
end
end
|
Instance Method Details
#enhance(_dependency) ⇒ Object
6
7
8
|
# File 'lib/spandx/core/plugin.rb', line 6
def enhance(_dependency)
raise ::Spandx::Error, :enhance
end
|