# File lib/test/unit/priority.rb, line 47 def have_priority?(name) singleton_class = (class << self; self; end) singleton_class.method_defined?(priority_check_method_name(name)) end