Sha256: 7d47d3ef2818a229f0353d0dd0a8444a4a0f98c0eb3c8922f1610db1d3a7ecc2
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the name of the method. Is this already in 1.9+ ? - !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 #=> "foo"\n\n CREDIT: Trans\n" full_name: UnboundMethod#name is_singleton: false name: name params: () visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.3 | doc/ri/UnboundMethod/name-i.yaml |
facets-2.4.2 | doc/ri/UnboundMethod/name-i.yaml |