Method: Lista#remove_first

Defined in:
lib/pract/list.rb

#remove_firstObject

Remove the first element



49
50
51
52
# File 'lib/pract/list.rb', line 49

def remove_first
  point = @head
  @head = point.next
end