JezK
Edit File: compact%21-i.ri
U:RDoc::AnyMethod[iI" compact!:ETI"Hash#compact!;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+Removes all nil values from the hash. ;TI"EReturns nil if no changes were made, otherwise returns the hash.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"$h = { a: 1, b: false, c: nil } ;TI"*h.compact! #=> { a: 1, b: false };T:@format0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I" hsh.compact! -> hsh or nil ;T0[ I"();T@FI" Hash;TcRDoc::NormalClass00