Class: PreCommit::Checks::Plugin
- Inherits:
-
Object
- Object
- PreCommit::Checks::Plugin
- Defined in:
- lib/pre-commit/checks/plugin.rb
Direct Known Subclasses
Ci, Closure, Coffeelint, Common, Grep, Js, Local, Migration, NbSpace, Php, Rails, Rubocop, Ruby, Whitespace
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#pluginator ⇒ Object
Returns the value of attribute pluginator.
Instance Method Summary collapse
-
#initialize(pluginator, config, list) ⇒ Plugin
constructor
A new instance of Plugin.
Constructor Details
#initialize(pluginator, config, list) ⇒ Plugin
Returns a new instance of Plugin.
6 7 8 9 10 |
# File 'lib/pre-commit/checks/plugin.rb', line 6 def initialize(pluginator, config, list) @pluginator = pluginator @config = config @list = list end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
4 5 6 |
# File 'lib/pre-commit/checks/plugin.rb', line 4 def config @config end |
#pluginator ⇒ Object
Returns the value of attribute pluginator.
4 5 6 |
# File 'lib/pre-commit/checks/plugin.rb', line 4 def pluginator @pluginator end |