Class: Scanny::Reporters::Reporter
- Inherits:
-
Object
- Object
- Scanny::Reporters::Reporter
- Defined in:
- lib/scanny/reporters/reporter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#checks_performed ⇒ Object
Returns the value of attribute checks_performed.
-
#file ⇒ Object
Returns the value of attribute file.
-
#issues ⇒ Object
Returns the value of attribute issues.
-
#nodes_inspected ⇒ Object
Returns the value of attribute nodes_inspected.
Instance Method Summary collapse
-
#initialize(arguments = {}) ⇒ Reporter
constructor
A new instance of Reporter.
Constructor Details
#initialize(arguments = {}) ⇒ Reporter
Returns a new instance of Reporter.
6 7 8 9 10 11 |
# File 'lib/scanny/reporters/reporter.rb', line 6 def initialize(arguments = {}) arguments.each do |key, value| instance_variable_set("@#{key}", value) unless value.nil? end set_default_values! end |
Instance Attribute Details
#checks_performed ⇒ Object
Returns the value of attribute checks_performed.
4 5 6 |
# File 'lib/scanny/reporters/reporter.rb', line 4 def checks_performed @checks_performed end |
#file ⇒ Object
Returns the value of attribute file.
4 5 6 |
# File 'lib/scanny/reporters/reporter.rb', line 4 def file @file end |
#issues ⇒ Object
Returns the value of attribute issues.
4 5 6 |
# File 'lib/scanny/reporters/reporter.rb', line 4 def issues @issues end |
#nodes_inspected ⇒ Object
Returns the value of attribute nodes_inspected.
4 5 6 |
# File 'lib/scanny/reporters/reporter.rb', line 4 def nodes_inspected @nodes_inspected end |