Class: PdfMatcher::MatchResult
- Inherits:
-
Struct
- Object
- Struct
- PdfMatcher::MatchResult
- Extended by:
- Forwardable
- Defined in:
- lib/pdf_matcher/match_result.rb
Instance Attribute Summary collapse
-
#diff_pdf_path ⇒ Object
Returns the value of attribute diff_pdf_path.
-
#matched ⇒ Object
(also: #matched?)
Returns the value of attribute matched.
-
#pdf1_file ⇒ Object
Returns the value of attribute pdf1_file.
-
#pdf2_file ⇒ Object
Returns the value of attribute pdf2_file.
Instance Method Summary collapse
Instance Attribute Details
#diff_pdf_path ⇒ Object
Returns the value of attribute diff_pdf_path
6 7 8 |
# File 'lib/pdf_matcher/match_result.rb', line 6 def diff_pdf_path @diff_pdf_path end |
#matched ⇒ Object Also known as: matched?
Returns the value of attribute matched
6 7 8 |
# File 'lib/pdf_matcher/match_result.rb', line 6 def matched @matched end |
#pdf1_file ⇒ Object
Returns the value of attribute pdf1_file
6 7 8 |
# File 'lib/pdf_matcher/match_result.rb', line 6 def pdf1_file @pdf1_file end |
#pdf2_file ⇒ Object
Returns the value of attribute pdf2_file
6 7 8 |
# File 'lib/pdf_matcher/match_result.rb', line 6 def pdf2_file @pdf2_file end |
Instance Method Details
#diff_pdf_data ⇒ Object
16 17 18 |
# File 'lib/pdf_matcher/match_result.rb', line 16 def diff_pdf_data @diff_pdf_data ||= diff_pdf_path&.binread end |