Class: Epuber::Epubcheck::Report
- Inherits:
-
Struct
- Object
- Struct
- Epuber::Epubcheck::Report
- Defined in:
- lib/epuber/epubcheck.rb
Instance Attribute Summary collapse
-
#problems ⇒ Object
Returns the value of attribute problems.
Instance Method Summary collapse
-
#error? ⇒ Boolean
!attribute [r] problems @return [Array<Problem>] problems found by epubcheck.
Instance Attribute Details
#problems ⇒ Object
Returns the value of attribute problems
10 11 12 |
# File 'lib/epuber/epubcheck.rb', line 10 def problems @problems end |
Instance Method Details
#error? ⇒ Boolean
!attribute [r] problems
@return [Array<Problem>] problems found by epubcheck
14 15 16 |
# File 'lib/epuber/epubcheck.rb', line 14 def error? problems.any?(&:error?) end |