Class: Oinky::Internal::IndexColumnDefn::IxColumnSet

Inherits:
FFI::MemoryPointer
  • Object
show all
Defined in:
lib/oinky.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count) ⇒ IxColumnSet

Returns a new instance of IxColumnSet.



404
405
406
# File 'lib/oinky.rb', line 404

def initialize(count)
  super(IndexColumnDefn, count)
end

Instance Attribute Details

#refsObject

Returns the value of attribute refs.



398
399
400
# File 'lib/oinky.rb', line 398

def refs
  @refs
end

Instance Method Details

#[](x) ⇒ Object



408
409
410
# File 'lib/oinky.rb', line 408

def [](x)
  IndexColumnDefn.new(super(x))
end

#countObject



400
401
402
# File 'lib/oinky.rb', line 400

def count
  @refs.count
end