Class: PdfMatcher::PdfFile::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/pdf_matcher/pdf_file.rb

Direct Known Subclasses

File, Tempfile

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



26
27
28
# File 'lib/pdf_matcher/pdf_file.rb', line 26

def data
  @data
end

#pathObject (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

#closeObject



34
# File 'lib/pdf_matcher/pdf_file.rb', line 34

def close; end

#openObject



33
# File 'lib/pdf_matcher/pdf_file.rb', line 33

def open; end