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

size

str.size â integer Instance Public methods Returns the character length

2015-05-15 19:05:39
bytesize

str.bytesize â integer Instance Public methods Returns the length of str

2015-05-15 14:11:44
include?

str.include? other_str â true or false Instance Public methods Returns true

2015-05-15 16:58:03
encoding

obj.encoding â encoding Instance Public methods Returns the

2015-05-15 16:16:07
%

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

2015-05-15 13:06:27
chop

str.chop â new_str Instance Public methods Returns a new String

2015-05-15 14:52:04
replace

str.replace(other_str) â str Instance Public methods Replaces the contents

2015-05-15 18:09:44
pathmap_replace

pathmap_replace(patterns, &block) Instance Public methods Preform the pathmap

2015-05-15 12:06:37
rstrip

str.rstrip â new_str Instance Public methods Returns a copy of str

2015-05-15 18:38:09
sub

str.sub(pattern, replacement) â new_strstr.sub(pattern, hash) â new_strstr.sub(pattern) {|match| block } â new_str

2015-05-15 19:55:23