Class: Cabriolet::Models::OABPatchBlockHeader
- Inherits:
-
Object
- Object
- Cabriolet::Models::OABPatchBlockHeader
- Defined in:
- lib/cabriolet/models/oab_header.rb
Overview
OAB block header for patch files
Instance Attribute Summary collapse
-
#crc ⇒ Object
Returns the value of attribute crc.
-
#patch_size ⇒ Object
Returns the value of attribute patch_size.
-
#source_size ⇒ Object
Returns the value of attribute source_size.
-
#target_size ⇒ Object
Returns the value of attribute target_size.
Instance Method Summary collapse
-
#initialize(patch_size:, target_size:, source_size:, crc:) ⇒ OABPatchBlockHeader
constructor
A new instance of OABPatchBlockHeader.
Constructor Details
#initialize(patch_size:, target_size:, source_size:, crc:) ⇒ OABPatchBlockHeader
Returns a new instance of OABPatchBlockHeader.
87 88 89 90 91 92 |
# File 'lib/cabriolet/models/oab_header.rb', line 87 def initialize(patch_size:, target_size:, source_size:, crc:) @patch_size = patch_size @target_size = target_size @source_size = source_size @crc = crc end |
Instance Attribute Details
#crc ⇒ Object
Returns the value of attribute crc.
85 86 87 |
# File 'lib/cabriolet/models/oab_header.rb', line 85 def crc @crc end |
#patch_size ⇒ Object
Returns the value of attribute patch_size.
85 86 87 |
# File 'lib/cabriolet/models/oab_header.rb', line 85 def patch_size @patch_size end |
#source_size ⇒ Object
Returns the value of attribute source_size.
85 86 87 |
# File 'lib/cabriolet/models/oab_header.rb', line 85 def source_size @source_size end |
#target_size ⇒ Object
Returns the value of attribute target_size.
85 86 87 |
# File 'lib/cabriolet/models/oab_header.rb', line 85 def target_size @target_size end |