Class: IOStruct::FieldInfo

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

Overview

rubocop:disable Lint/StructNewOverride

Instance Attribute Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



11
12
13
# File 'lib/iostruct.rb', line 11

def count
  @count
end

#fmtObject

Returns the value of attribute fmt

Returns:

  • (Object)

    the current value of fmt



11
12
13
# File 'lib/iostruct.rb', line 11

def fmt
  @fmt
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



11
12
13
# File 'lib/iostruct.rb', line 11

def offset
  @offset
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



11
12
13
# File 'lib/iostruct.rb', line 11

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



11
12
13
# File 'lib/iostruct.rb', line 11

def type
  @type
end