Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Object/inspect-i.ri
Arrière
U:RDoc::AnyMethod[iI"inspect:ETI"Object#inspect;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"PReturns a string containing a human-readable representation of <i>obj</i>. ;TI"EThe default <code>inspect</code> shows the object's class name, ;TI"Lan encoding of the object id, and a list of the instance variables and ;TI"9their values (by calling #inspect on each of them). ;TI"JUser defined classes should override this method to provide a better ;TI"Krepresentation of <i>obj</i>. When overriding this method, it should ;TI"Lreturn a string whose encoding is compatible with the default external ;TI"encoding.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"C[ 1, 2, 3..4, 'five' ].inspect #=> "[1, 2, 3..4, \"five\"]" ;TI"FTime.new.inspect #=> "2008-03-08 19:43:39 +0900" ;TI" ;TI"class Foo ;TI" end ;TI">Foo.new.inspect #=> "#<Foo:0x0300c868>" ;TI" ;TI"class Bar ;TI" def initialize ;TI" @bar = 1 ;TI" end ;TI" end ;TI"DBar.new.inspect #=> "#<Bar:0x0300c868 @bar=1>";T:@format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"obj.inspect -> string ;T0[ I"();T@%FI"Object;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 2.14 |
proxy
|
phpinfo
|
Réglages