Please use a real block rather than Symbol#to_proc.