Class: Pdfh::ZipType
- Inherits:
-
Object
- Object
- Pdfh::ZipType
- Includes:
- Concerns::PasswordDecodable
- Defined in:
- lib/pdfh/models/zip_types.rb
Overview
Zip files which contains PDF files that need pre-processing
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#pwd ⇒ Object
readonly
Returns the value of attribute pwd.
-
#re_file ⇒ Object
readonly
Returns the value of attribute re_file.
Instance Method Summary collapse
- #initialize(args) ⇒ self constructor
Methods included from Concerns::PasswordDecodable
Constructor Details
#initialize(args) ⇒ self
12 13 14 15 |
# File 'lib/pdfh/models/zip_types.rb', line 12 def initialize(args) args.each { |k, v| instance_variable_set(:"@#{k}", v) } @re_file = Regexp.new(re_file) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/pdfh/models/zip_types.rb', line 8 def name @name end |
#pwd ⇒ Object (readonly)
Returns the value of attribute pwd.
8 9 10 |
# File 'lib/pdfh/models/zip_types.rb', line 8 def pwd @pwd end |
#re_file ⇒ Object (readonly)
Returns the value of attribute re_file.
8 9 10 |
# File 'lib/pdfh/models/zip_types.rb', line 8 def re_file @re_file end |