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



42
43
44
# File 'lib/iostruct.rb', line 42

def offset
  @offset
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



42
43
44
# File 'lib/iostruct.rb', line 42

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



42
43
44
# File 'lib/iostruct.rb', line 42

def type
  @type
end