283 284 285 286 287 288 289 290
# File 'lib/warg.rb', line 283 def append(content, at: cursor_position) entry = Entry.new(content, at) entry.previous_entry = @head @head.next_entry = entry @head = entry end