Class: BinaryCodec::FieldInfo
- Inherits:
-
Object
- Object
- BinaryCodec::FieldInfo
- Defined in:
- lib/binary-codec/enums/fields.rb
Instance Attribute Summary collapse
-
#is_serialized ⇒ Object
readonly
Returns the value of attribute is_serialized.
-
#is_signing_field ⇒ Object
readonly
Returns the value of attribute is_signing_field.
-
#is_vl_encoded ⇒ Object
readonly
Returns the value of attribute is_vl_encoded.
-
#nth ⇒ Object
readonly
Returns the value of attribute nth.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(nth:, is_vl_encoded:, is_serialized:, is_signing_field:, type:) ⇒ FieldInfo
constructor
A new instance of FieldInfo.
Constructor Details
#initialize(nth:, is_vl_encoded:, is_serialized:, is_signing_field:, type:) ⇒ FieldInfo
Returns a new instance of FieldInfo.
36 37 38 39 40 41 42 |
# File 'lib/binary-codec/enums/fields.rb', line 36 def initialize(nth:, is_vl_encoded:, is_serialized:, is_signing_field:, type:) @nth = nth @is_vl_encoded = is_vl_encoded @is_serialized = is_serialized @is_signing_field = is_signing_field @type = type end |
Instance Attribute Details
#is_serialized ⇒ Object (readonly)
Returns the value of attribute is_serialized.
34 35 36 |
# File 'lib/binary-codec/enums/fields.rb', line 34 def is_serialized @is_serialized end |
#is_signing_field ⇒ Object (readonly)
Returns the value of attribute is_signing_field.
34 35 36 |
# File 'lib/binary-codec/enums/fields.rb', line 34 def is_signing_field @is_signing_field end |
#is_vl_encoded ⇒ Object (readonly)
Returns the value of attribute is_vl_encoded.
34 35 36 |
# File 'lib/binary-codec/enums/fields.rb', line 34 def is_vl_encoded @is_vl_encoded end |
#nth ⇒ Object (readonly)
Returns the value of attribute nth.
34 35 36 |
# File 'lib/binary-codec/enums/fields.rb', line 34 def nth @nth end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
34 35 36 |
# File 'lib/binary-codec/enums/fields.rb', line 34 def type @type end |