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

ljust

str.ljust(integer, padstr=' ') â new_str Instance Public methods If integer

2015-05-15 17:24:22
succ

str.succ â new_str Instance Public methods Returns the successor to str

2015-05-15 20:02:29
/

/(p1 = v1, p2 = v2) Instance Public methods Alias for:

2015-05-15 13:21:24
[]

str[index] â new_str or nilstr[start, length] â new_str or nilstr[range] â new_str or nilstr[regexp]

2015-05-15 13:47:31
hash

str.hash â fixnum Instance Public methods Return a hash based on the string's

2015-05-15 16:50:04
slice

str.slice(index) â new_str or nilstr.slice(start, length) â new_str or nilstr.slice(range) â new_str or nilstr.slice(regexp)

2015-05-15 19:10:46
encode!

str.encode!(encoding [, options] ) â strstr.encode!(dst_encoding, src_encoding [, options] ) â str Instance

2015-05-15 16:09:51
rjust

str.rjust(integer, padstr=' ') â new_str Instance Public methods If integer

2015-05-15 18:30:24
to_a

to_a() Instance Public methods

2015-05-15 12:13:18
<=>

string other_string â -1, 0, +1 or nil Instance Public methods ComparisonâReturns

2015-05-15 13:34:00