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

chars

str.chars â an_array Instance Public methods Returns an array of characters

2015-05-15 14:37:13
to_s

str.to_s â strstr.to_str â str Instance Public methods Returns the

2015-05-15 20:35:18
each_codepoint

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

2015-05-15 15:59:32
sum

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

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

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

2015-05-15 20:48:30
gsub!

str.gsub!(pattern, replacement) â str or nilstr.gsub!(pattern) {|match| block } â str or nilstr.gsub!(pattern) â an_enumerator

2015-05-15 16:45:34
tosjis

String#tosjis => string Instance Public methods Convert self

2015-05-15 12:40:40
rpartition

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

2015-05-15 18:36:03
capitalize!

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

2015-05-15 14:21:54
valid_encoding?

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

2015-05-15 21:20:43