Class: BBC::A11y::Runner::RunSummary
- Inherits:
-
Object
- Object
- BBC::A11y::Runner::RunSummary
- Defined in:
- lib/bbc/a11y/runner.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#pages ⇒ Object
Returns the value of attribute pages.
-
#skips ⇒ Object
Returns the value of attribute skips.
Instance Method Summary collapse
- #fail? ⇒ Boolean
-
#initialize ⇒ RunSummary
constructor
A new instance of RunSummary.
Constructor Details
#initialize ⇒ RunSummary
Returns a new instance of RunSummary.
38 39 40 41 42 |
# File 'lib/bbc/a11y/runner.rb', line 38 def initialize @pages = 0 @errors = 0 @skips = 0 end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
45 46 47 |
# File 'lib/bbc/a11y/runner.rb', line 45 def errors @errors end |
#pages ⇒ Object
Returns the value of attribute pages.
44 45 46 |
# File 'lib/bbc/a11y/runner.rb', line 44 def pages @pages end |
#skips ⇒ Object
Returns the value of attribute skips.
46 47 48 |
# File 'lib/bbc/a11y/runner.rb', line 46 def skips @skips end |
Instance Method Details
#fail? ⇒ Boolean
48 49 50 |
# File 'lib/bbc/a11y/runner.rb', line 48 def fail? @errors > 0 end |