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

lstrip!
  • References/Ruby on Rails/Ruby/Classes/String

str.lstrip! â self or nil Instance Public methods Removes leading whitespace

2025-01-10 15:47:30
toeuc
  • References/Ruby on Rails/Ruby/Classes/String

String#toeuc => string Instance Public methods Convert self

2025-01-10 15:47:30
encode
  • References/Ruby on Rails/Ruby/Classes/String

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

2025-01-10 15:47:30
getbyte
  • References/Ruby on Rails/Ruby/Classes/String

str.getbyte(index) â 0 .. 255 Instance Public methods returns the

2025-01-10 15:47:30
shellescape
  • References/Ruby on Rails/Ruby/Classes/String

str.shellescape => string Instance Public methods Escapes str

2025-01-10 15:47:30
kconv
  • References/Ruby on Rails/Ruby/Classes/String

String#kconv(to_enc, from_enc) Instance Public methods Convert self

2025-01-10 15:47:30
count
  • References/Ruby on Rails/Ruby/Classes/String

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

2025-01-10 15:47:30
[]=
  • References/Ruby on Rails/Ruby/Classes/String

str[fixnum] = new_strstr[fixnum, fixnum] = new_strstr[range] = aStringstr[regexp] = new_strstr[regexp, fixnum] = new_strstr[regexp

2025-01-10 15:47:30
toutf8
  • References/Ruby on Rails/Ruby/Classes/String

String#toutf8 => string Instance Public methods Convert self

2025-01-10 15:47:30
downcase
  • References/Ruby on Rails/Ruby/Classes/String

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

2025-01-10 15:47:30