Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Method
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Method/inspect-i.ri
U:RDoc::AnyMethod[iI"inspect:ETI"Method#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"Method;TcRDoc::NormalClass00