Class: ERBLint::CLI::Stats

Inherits:
Object
  • Object
show all
Defined in:
lib/erb_lint/cli.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStats

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

#correctedObject

Returns the value of attribute corrected.



20
21
22
# File 'lib/erb_lint/cli.rb', line 20

def corrected
  @corrected
end

#exceptionsObject

Returns the value of attribute exceptions.



20
21
22
# File 'lib/erb_lint/cli.rb', line 20

def exceptions
  @exceptions
end

#foundObject

Returns the value of attribute found.



20
21
22
# File 'lib/erb_lint/cli.rb', line 20

def found
  @found
end