def check(object, checked)
      check_message = object.is_a?(Class) ? :check_class : :check_object
      if checked.key?(name)
        true
      else
        checked[name] = __send__(check_message, object)
      end
    end
def check(object, checked)
      check_message = object.is_a?(Class) ? :check_class : :check_object
      if checked.key?(name)
        true
      else
        checked[name] = __send__(check_message, object)
      end
    end
The class +klass+ is checked against this Message instance. A CheckError
 exception will called, if either a required method isn't found in the
 +klass+, or it doesn't have the required arity (if a fixed arity was
 demanded).