class BitGirder::Core::ListPath

Attributes

index[R]

Public Class Methods

new( parent, index ) click to toggle source
Calls superclass method BitGirder::Core::ObjectPath::new
# File lib/bitgirder/core.rb, line 1289
def initialize( parent, index )
    
    super( parent )
    @index = nonnegative( index, "index" )
end

Public Instance Methods

next() click to toggle source
# File lib/bitgirder/core.rb, line 1295
def next
    ListPath.send( :new, self.parent, @index + 1 )
end