Class: PdfMatcher::PdfFile::Base
- Inherits:
-
Object
- Object
- PdfMatcher::PdfFile::Base
- Defined in:
- lib/pdf_matcher/pdf_file.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(data:, path:) ⇒ Base
constructor
A new instance of Base.
- #open ⇒ Object
Constructor Details
#initialize(data:, path:) ⇒ Base
Returns a new instance of Base.
28 29 30 31 |
# File 'lib/pdf_matcher/pdf_file.rb', line 28 def initialize(data:, path:) @data = data @path = path end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
26 27 28 |
# File 'lib/pdf_matcher/pdf_file.rb', line 26 def data @data end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
26 27 28 |
# File 'lib/pdf_matcher/pdf_file.rb', line 26 def path @path end |
Instance Method Details
#close ⇒ Object
34 |
# File 'lib/pdf_matcher/pdf_file.rb', line 34 def close; end |
#open ⇒ Object
33 |
# File 'lib/pdf_matcher/pdf_file.rb', line 33 def open; end |