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

strip

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

2015-05-15 19:45:38
try_convert

String.try_convert(obj) â string or nil Class Public methods Try to convert

2015-05-15 13:01:53
to_sym

str.to_sym â symbol Instance Public methods Returns the Symbol

2015-05-15 20:42:43
upcase

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

2015-05-15 21:04:30
next!

str.next! â str Instance Public methods Equivalent to String#succ

2015-05-15 17:47:03
each_byte

str.each_byte {|fixnum| block } â strstr.each_byte â an_enumerator Instance Public

2015-05-15 15:49:10
swapcase

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

2015-05-15 20:11:33
reverse

str.reverse â new_str Instance Public methods Returns a new string with the

2015-05-15 18:14:53
<=>

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

2015-05-15 13:34:00
chomp

str.chomp(separator=$/) â new_str Instance Public methods Returns a new String

2015-05-15 14:38:26