Class: Bootprint::Plugins::Definition
- Inherits:
-
Struct
- Object
- Struct
- Bootprint::Plugins::Definition
- Defined in:
- lib/bootprint/plugins.rb
Instance Attribute Summary collapse
-
#collector_class ⇒ Object
Returns the value of attribute collector_class.
-
#name ⇒ Object
Returns the value of attribute name.
-
#registration_error ⇒ Object
Returns the value of attribute registration_error.
-
#rules_module ⇒ Object
Returns the value of attribute rules_module.
Instance Method Summary collapse
Instance Attribute Details
#collector_class ⇒ Object
Returns the value of attribute collector_class
18 19 20 |
# File 'lib/bootprint/plugins.rb', line 18 def collector_class @collector_class end |
#name ⇒ Object
Returns the value of attribute name
18 19 20 |
# File 'lib/bootprint/plugins.rb', line 18 def name @name end |
#registration_error ⇒ Object
Returns the value of attribute registration_error
18 19 20 |
# File 'lib/bootprint/plugins.rb', line 18 def registration_error @registration_error end |
#rules_module ⇒ Object
Returns the value of attribute rules_module
18 19 20 |
# File 'lib/bootprint/plugins.rb', line 18 def rules_module @rules_module end |
Instance Method Details
#collector(value = nil) ⇒ Object
19 20 21 22 |
# File 'lib/bootprint/plugins.rb', line 19 def collector(value = nil) self.collector_class = value if value collector_class end |
#rules(value = nil) ⇒ Object
24 25 26 27 |
# File 'lib/bootprint/plugins.rb', line 24 def rules(value = nil) self.rules_module = value if value rules_module end |