--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns <tt>true</tt> if the named method is defined by <em>mod</em> (or its included modules and, if <em>mod</em> is a class, its ancestors). Public and protected methods are matched.
- !ruby/struct:SM::Flow::VERB 
  body: "   module A\n     def method1()  end\n   end\n   class B\n     def method2()  end\n   end\n   class C &lt; B\n     include A\n     def method3()  end\n   end\n\n   A.method_defined? :method1    #=&gt; true\n   C.method_defined? &quot;method1&quot;   #=&gt; true\n   C.method_defined? &quot;method2&quot;   #=&gt; true\n   C.method_defined? &quot;method3&quot;   #=&gt; true\n   C.method_defined? &quot;method4&quot;   #=&gt; false\n"
full_name: Module#method_defined?
is_singleton: false
name: method_defined?
params: |
  mod.method_defined?(symbol)    => true or false

visibility: public
