Class: ERBLint::CLI::Stats
- Inherits:
-
Object
- Object
- ERBLint::CLI::Stats
- Defined in:
- lib/erb_lint/cli.rb
Instance Attribute Summary collapse
-
#corrected ⇒ Object
Returns the value of attribute corrected.
-
#exceptions ⇒ Object
Returns the value of attribute exceptions.
-
#found ⇒ Object
Returns the value of attribute found.
Instance Method Summary collapse
-
#initialize ⇒ Stats
constructor
A new instance of Stats.
Constructor Details
#initialize ⇒ Stats
Returns a new instance of Stats.
21 22 23 24 25 |
# File 'lib/erb_lint/cli.rb', line 21 def initialize @found = 0 @corrected = 0 @exceptions = 0 end |
Instance Attribute Details
#corrected ⇒ Object
Returns the value of attribute corrected.
20 21 22 |
# File 'lib/erb_lint/cli.rb', line 20 def corrected @corrected end |
#exceptions ⇒ Object
Returns the value of attribute exceptions.
20 21 22 |
# File 'lib/erb_lint/cli.rb', line 20 def exceptions @exceptions end |
#found ⇒ Object
Returns the value of attribute found.
20 21 22 |
# File 'lib/erb_lint/cli.rb', line 20 def found @found end |