Method: Dasht::List#append

Defined in:
lib/dasht/list.rb

#append(data) ⇒ Object

Public: Add data to the list. Returns a pointer to the new data.



61
62
63
64
65
# File 'lib/dasht/list.rb', line 61

def append(data)
  pointer = self.tail_pointer
  @values << data
  return pointer
end