PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
UnboundMethod
U:RDoc::AnyMethod[iI"inspect:ETI"UnboundMethod#inspect;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"CReturns a human-readable description of the underlying method.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"E"cat".method(:count).inspect #=> "#<Method: String#count(*)>" ;TI"M(1..3).method(:map).inspect #=> "#<Method: Range(Enumerable)#map()>" ;T:@format0o; ; [I"LIn the latter case, the method description includes the "owner" of the ;TI"Koriginal method (+Enumerable+ module, which is included into +Range+).;T@o; ; [I"I+inspect+ also provides, when possible, method argument names (call ;TI"#sequence) and source location.;T@o;; [I"require 'net/http' ;TI"$Net::HTTP.method(:get).inspect ;TI"k#=> "#<Method: Net::HTTP.get(uri_or_host, path=..., port=...) <skip>/lib/ruby/2.7.0/net/http.rb:457>" ;T; 0o; ; [I"M<code>...</code> in argument definition means argument is optional (has ;TI"some default value).;T@o; ; [ I"KFor methods defined in C (language core and extensions), location and ;TI"Qargument names can't be extracted, and only generic information is provided ;TI"Qin form of <code>*</code> (any number of arguments) or <code>_</code> (some ;TI"positional argument).;T@o;; [I"E"cat".method(:count).inspect #=> "#<Method: String#count(*)>" ;TI"A"cat".method(:+).inspect #=> "#<Method: String#+(_)>"";T; 0: @fileI"proc.c;T:0@omit_headings_from_table_of_contents_below0I"9meth.to_s -> string meth.inspect -> string ;T0[[I" to_s;T@ I"();T@.FI"UnboundMethod;TcRDoc::NormalClass00
[-] cdesc-UnboundMethod.ri
[edit]
[-] to_s-i.ri
[edit]
[-] bind-i.ri
[edit]
[-] clone-i.ri
[edit]
[-] bind_call-i.ri
[edit]
[-] hash-i.ri
[edit]
[-] name-i.ri
[edit]
[-] eql%3f-i.ri
[edit]
[+]
..
[-] owner-i.ri
[edit]
[-] original_name-i.ri
[edit]
[-] source_location-i.ri
[edit]
[-] %3d%3d-i.ri
[edit]
[-] inspect-i.ri
[edit]
[-] super_method-i.ri
[edit]
[-] parameters-i.ri
[edit]
[-] arity-i.ri
[edit]