rails/rails — pull request #5201 by avakhov (2012-02-28 06:09:56+00:00)
Title: Use anonymous? in AbstractController layout instead name check

As I understood anonymous? is standart way to check class whether it has name (commit: 760dec17bea1cf10534d33d409e4d6e1ff62c6af - "Use anonymous? that works on both Ruby 1.8 and 1.9." and some other).