File: C:/Ruby27-x64/share/ri/2.7.0/system/UnboundMethod/inspect-i.ri
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"meth.inspect -> string;T0[ I"();T@.FI"UnboundMethod;TcRDoc::NormalClass00