Class: Oinky::Internal::IndexColumnDefn::IxColumnSet
- Inherits:
-
FFI::MemoryPointer
- Object
- FFI::MemoryPointer
- Oinky::Internal::IndexColumnDefn::IxColumnSet
- Defined in:
- lib/oinky.rb
Instance Attribute Summary collapse
-
#refs ⇒ Object
Returns the value of attribute refs.
Instance Method Summary collapse
- #[](x) ⇒ Object
- #count ⇒ Object
-
#initialize(count) ⇒ IxColumnSet
constructor
A new instance of IxColumnSet.
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
#refs ⇒ Object
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 |
#count ⇒ Object
400 401 402 |
# File 'lib/oinky.rb', line 400 def count @refs.count end |