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#[]=.

sum

str.sum(n=16) â integer Instance Public methods Returns a basic n-bit

2015-05-15 20:10:25
capitalize!

str.capitalize! â str or nil Instance Public methods Modifies str

2015-05-15 14:21:54
lines

str.lines(separator=$/) â an_array Instance Public methods Returns an array

2015-05-15 17:18:15
delete

str.delete([other_str]+) â new_str Instance Public methods Returns a copy

2015-05-15 15:28:30
tr!

str.tr!(from_str, to_str) â str or nil Instance Public methods Translates

2015-05-15 20:48:30
scanf

scanf(fstr) Instance Public methods Scans the current string. If a block is

2015-05-15 18:47:06
each_codepoint

str.each_codepoint {|integer| block } â strstr.each_codepoint â an_enumerator Instance

2015-05-15 15:59:32
intern

str.intern â symbol Instance Public methods Returns the Symbol

2015-05-15 17:11:20
valid_encoding?

str.valid_encoding? â true or false Instance Public methods Returns true for

2015-05-15 21:20:43
rpartition

str.rpartition(sep) â [head, sep, tail]str.rpartition(regexp) â [head, match, tail] Instance

2015-05-15 18:36:03