D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
String
/
Filename :
dedup-i.ri
back
Copy
U:RDoc::AnyMethod[iI" dedup:ETI"String#dedup;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"@Returns a frozen, possibly pre-existing copy of the string.;To:RDoc::Markup::BlankLine o; ; [I"LThe returned +String+ will be deduplicated as long as it does not have ;TI"Cany instance variables set on it and is not a String subclass.;T@o; ; [I"HNote that <tt>-string</tt> variant is more convenient for defining ;TI"constants:;T@o:RDoc::Markup::Verbatim; [I"'FILENAME = -'config/database.yml' ;T:@format0o; ; [I"Ewhile +dedup+ is better suitable for using the method in chains ;TI"of calculations:;T@o;; [I"(@url_list.concat(urls.map(&:dedup));T; 0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@!FI"String;TcRDoc::NormalClass0[@$FI"-@;T