Class: BinStruct::BitAttr::Parameters

Inherits:
Struct
  • Object
show all
Defined in:
lib/bin_struct/bit_attr.rb

Overview

Since:

  • 0.3.0

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsObject

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



39
40
41
# File 'lib/bin_struct/bit_attr.rb', line 39

def fields
  @fields
end

#intObject

Returns the value of attribute int

Returns:

  • (Object)

    the current value of int



39
40
41
# File 'lib/bin_struct/bit_attr.rb', line 39

def int
  @int
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



39
40
41
# File 'lib/bin_struct/bit_attr.rb', line 39

def width
  @width
end