This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

protected_method_defined?

        # Module.protected_method_defined?

(from ruby core)
---
    mod.protected_method_defined?(symbol, inherit=true)   -> true or false
    mod.protected_method_defined?(string, inherit=true)   -> true or false

---

Returns `true` if the named protected method is defined *mod*.  If
*inherit* is set, the lookup will also search *mod*'s ancestors. String
arguments are converted to symbols.

    module A
      def method1()  end
    end
    class B
      protected
      def method2()  end
    end
    class C < B
      include A
      def method3()  end
    end

    A.method_defined? :method1                    #=> true
    C.protected_method_defined? "method1"         #=> false
    C.protected_method_defined? "method2"         #=> true
    C.protected_method_defined? "method2", true   #=> true
    C.protected_method_defined? "method2", false  #=> false
    C.method_defined? "method2"                   #=> true



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.