Method: Lista#remove_last

Defined in:
lib/pract/list.rb

#remove_lastObject

Remove the last element



54
55
56
57
# File 'lib/pract/list.rb', line 54

def remove_last
  point = @tail
  @tail = point.prev
end