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

tojis

String#tojis => string Instance Public methods Convert self

2015-05-15 12:30:00
prepend

str.prepend(other_str) â str Instance Public methods PrependâPrepend the given

2015-05-15 18:08:02
start_with?

str.start_with?([prefixes]+) â true or false Instance Public methods Returns

2015-05-15 19:40:26
empty?

str.empty? â true or false Instance Public methods Returns true

2015-05-15 16:03:44
shellescape

str.shellescape => string Instance Public methods Escapes str

2015-05-15 18:55:54
count

str.count([other_str]+) â fixnum Instance Public methods Each other_str

2015-05-15 15:20:00
slice!

str.slice!(fixnum) â fixnum or nilstr.slice!(fixnum, fixnum) â new_str or nilstr.slice!(range) â new_str or nilstr.slice

2015-05-15 19:15:28
encode

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

2015-05-15 16:04:59
sub!

str.sub!(pattern, replacement) â str or nilstr.sub!(pattern) {|match| block } â str or nil Instance

2015-05-15 20:00:51
lines

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

2015-05-15 17:18:15