Class: BinStruct::BitAttr::Parameters
- Inherits:
-
Struct
- Object
- Struct
- BinStruct::BitAttr::Parameters
- Defined in:
- lib/bin_struct/bit_attr.rb
Overview
TODO:
Ruby 3.2: replace Struct by Data
Instance Attribute Summary collapse
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#int ⇒ Object
Returns the value of attribute int.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#fields ⇒ Object
Returns the value of attribute fields
38 39 40 |
# File 'lib/bin_struct/bit_attr.rb', line 38 def fields @fields end |
#int ⇒ Object
Returns the value of attribute int
38 39 40 |
# File 'lib/bin_struct/bit_attr.rb', line 38 def int @int end |
#width ⇒ Object
Returns the value of attribute width
38 39 40 |
# File 'lib/bin_struct/bit_attr.rb', line 38 def width @width end |