Class: Innodb::List::BaseNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/innodb/list.rb

Instance Attribute Summary collapse

Instance Attribute Details

#firstObject

Returns the value of attribute first

Returns:

  • (Object)

    the current value of first



9
10
11
# File 'lib/innodb/list.rb', line 9

def first
  @first
end

#lastObject

Returns the value of attribute last

Returns:

  • (Object)

    the current value of last



9
10
11
# File 'lib/innodb/list.rb', line 9

def last
  @last
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



9
10
11
# File 'lib/innodb/list.rb', line 9

def length
  @length
end