Class: IOStruct::FieldInfo

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

Instance Attribute Summary collapse

Instance Attribute Details

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



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

def offset
  @offset
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



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

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end