class Hamster::Stack

def pop

def pop
  list = @list.tail
  if list.empty?
    EmptyStack
  else
    transform { @list = list }
  end
end