# File lib/active_support/core_ext/module/anonymous.rb, line 19
  def anonymous?
    # Uses blank? because the name of an anonymous class is an empty
    # string in 1.8, and nil in 1.9.
    name.blank?
  end