Topic: calling methods inside class declaration

Hi.

Can somebody explain me this:

class A
   validation_method :arg
end

How can I call a method inside a class declaration and out of a function definition ?
That doesn't look like a Ruby syntax anymore.

Thanks
Haris