Type:
Class

Rake extension methods for String.

A String object holds and manipulates an arbitrary sequence of bytes, typically representing characters. String objects may be created using String::new or as literals.

Because of aliasing issues, users of strings should be aware of the methods that modify the contents of a String object. Typically, methods with names ending in “!'' modify their receiver, while those without a “!'' return a new String. However, there are exceptions, such as String#[]=.

%

str % arg â new_str Instance Public methods FormatâUses str as a

2015-05-15 13:06:27
*

str * integer â new_str Instance Public methods Copy â Returns a new String

2015-05-15 13:09:58
inspect

str.inspect â string Instance Public methods Returns a printable version

2015-05-15 17:09:13
upcase!

str.upcase! â str or nil Instance Public methods Upcases the contents of

2015-05-15 21:10:13
chr

string.chr â string Instance Public methods Returns a one-character string

2015-05-15 15:03:07
to_f

str.to_f â float Instance Public methods Returns the result of interpreting

2015-05-15 20:24:27
===

str == obj â true or false Instance Public methods EqualityâIf obj

2015-05-15 13:41:42
rindex

str.rindex(substring [, fixnum]) â fixnum or nilstr.rindex(regexp [, fixnum]) â fixnum or nil Instance

2015-05-15 18:28:02
tolocale

String#tolocale => string Instance Public methods Convert self

2015-05-15 12:36:22
encoding

obj.encoding â encoding Instance Public methods Returns the

2015-05-15 16:16:07