Class: FFI::StructEx::BitLayout

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

Instance Attribute Summary collapse

Instance Attribute Details

#bitsObject

Returns the value of attribute bits

Returns:

  • (Object)

    the current value of bits



16
17
18
# File 'lib/ffi/struct_ex/struct_ex.rb', line 16

def bits
  @bits
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



16
17
18
# File 'lib/ffi/struct_ex/struct_ex.rb', line 16

def name
  @name
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



16
17
18
# File 'lib/ffi/struct_ex/struct_ex.rb', line 16

def offset
  @offset
end

#textsObject

Returns the value of attribute texts

Returns:

  • (Object)

    the current value of texts



16
17
18
# File 'lib/ffi/struct_ex/struct_ex.rb', line 16

def texts
  @texts
end