class FFI::StructLayout::Enum

def get(ptr)

Returns:
  • (Object) -

Parameters:
  • ptr (AbstractMemory) -- pointer on a {Struct}
def get(ptr)
  type.find(ptr.get_int(offset))
end