HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/Method/to_s-i.ri
U:RDoc::AnyMethod[iI"	to_s:ETI"Method#to_s;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"CReturns a human-readable description of the underlying method.;To:RDoc::Markup::BlankLineo: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.to_s      ->  string;T0[I"();T@.FI"Method;TcRDoc::NormalClass00