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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Return the name of the method.
- !ruby/struct:SM::Flow::P 
  body: Be aware that in ruby 1.9 UnboundMethod#name is defined already, but it returns a Symbol not a String.
- !ruby/struct:SM::Flow::VERB 
  body: "  class X\n    def foo; end\n  end\n\n  meth = X.instance_method(:foo)\n\n  meth.name  #=&gt; &quot;foo&quot;\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: UnboundMethod#name
is_singleton: false
name: name
params: ()
visibility: public
