Ruby - Advanced Metaprogramming
Identify the error in this code snippet:
class Cat
end
kitty = Cat.new
kitty.class_eval { def meow; 'Meow!'; end }
puts kitty.meow