Class: Pcrd::Schema::Packer::LayoutEntry
- Inherits:
-
Data
- Object
- Data
- Pcrd::Schema::Packer::LayoutEntry
- Defined in:
- lib/pcrd/schema/packer.rb
Overview
A single entry in a layout: the column plus the padding bytes inserted before it to satisfy its alignment requirement.
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#padding_before ⇒ Object
readonly
Returns the value of attribute padding_before.
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
21 22 23 |
# File 'lib/pcrd/schema/packer.rb', line 21 def column @column end |
#offset ⇒ Object (readonly)
Returns the value of attribute offset
21 22 23 |
# File 'lib/pcrd/schema/packer.rb', line 21 def offset @offset end |
#padding_before ⇒ Object (readonly)
Returns the value of attribute padding_before
21 22 23 |
# File 'lib/pcrd/schema/packer.rb', line 21 def padding_before @padding_before end |