D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
NilClass
/
Filename :
cdesc-NilClass.ri
back
Copy
U:RDoc::NormalClass[iI" NilClass:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"nilclass.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"-The class of the singleton object +nil+.;To:RDoc::Markup::BlankLine o;;[I"-Several of its methods act as operators:;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0;[o;;[I"#&;To;;0;[o;;[I"#|;To;;0;[o;;[I" #===;To;;0;[o;;[I"#=~;To;;0;[o;;[I"#^;T@o;;[I"AOthers act as converters, carrying the concept of _nullity_ ;TI"to other classes:;T@o; ;;;[o;;0;[o;;[I"#rationalize;To;;0;[o;;[I" #to_a;To;;0;[o;;[I" #to_c;To;;0;[o;;[I" #to_h;To;;0;[o;;[I" #to_r;To;;0;[o;;[I" #to_s;T@o;;[I"EWhile +nil+ doesn't have an explicitly defined #to_hash method, ;TI"Ait can be used in <code>**</code> unpacking, not adding any ;TI"keyword arguments.;T@o;;[I"(Another method provides inspection:;T@o; ;;;[o;;0;[o;;[I" #inspect;T@o;;[I")Finally, there is this query method:;T@o; ;;;[o;;0;[o;;[I" #nil?;T; I" object.c;T; 0; 0; 0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[[I"&;TI" object.c;T[I"===;T@[I"=~;T@[I"^;T@[I"|;T@[I"inspect;T@[I" nil?;T@[I"rationalize;TI"rational.c;T[I" to_a;T@[I" to_c;TI"complex.c;T[I" to_f;TI"nilclass.rb;T[I" to_h;T@[I" to_i;T@�[I" to_r;T@�[I" to_s;T@[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ I"complex.c;T@ @oI"rational.c;T@�cRDoc::TopLevel