Method: LinkedList::List#length

Defined in:
lib/linked-list/list.rb

#lengthObject (readonly) Also known as: size

Returns the value of attribute length.



7
8
9
# File 'lib/linked-list/list.rb', line 7

def length
  @length
end