Class: HexaPDF::CLI::Command
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- HexaPDF::CLI::Command
- Defined in:
- lib/hexapdf/cli/command.rb
Overview
Base class for all hexapdf commands. It provides utility methods needed by the individual commands.
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ Command
constructor
:nodoc:.
Constructor Details
#initialize(*args, &block) ⇒ Command
:nodoc:
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/hexapdf/cli/command.rb', line 46 def initialize(*args, &block) #:nodoc: super = OpenStruct.new .compact = true .compress_pages = false .object_streams = :preserve .xref_streams = :preserve .streams = :preserve .encryption = :preserve .enc_user_pwd = .enc_owner_pwd = nil .enc_key_length = 128 .enc_algorithm = :aes .enc_force_v4 = false . = [] end |