Class: CZTop::Config::Traversing::SiblingsAccessor
- Inherits:
-
FamilyAccessor
- Object
- FamilyAccessor
- CZTop::Config::Traversing::SiblingsAccessor
- Defined in:
- lib/cztop/config/traversing.rb
Overview
Accesses the younger siblings of a given CZTop::Config item.
Instance Method Summary collapse
-
#first ⇒ Config?
Returns the first sibling.
Methods inherited from FamilyAccessor
Constructor Details
This class inherits a constructor from CZTop::Config::Traversing::FamilyAccessor
Instance Method Details
#first ⇒ Config?
Returns the first sibling.
122 123 124 125 126 127 |
# File 'lib/cztop/config/traversing.rb', line 122 def first ptr = @config.ffi_delegate.next return nil if ptr.null? CZTop::Config.from_ffi_delegate(ptr) end |