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

ascii_only?
  • References/Ruby on Rails/Ruby/Classes/String

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

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

to_a() Instance Public methods

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

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

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

str.rstrip! â self or nil Instance Public methods Removes trailing whitespace

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

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

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

kjust(len) Instance Public methods

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

str str Instance Public methods AppendâConcatenates

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

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

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

str.upto(other_str, exclusive=false) {|s| block } â strstr.upto(other_str, exclusive=false) â an_enumerator

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

str == obj â true or false Instance Public methods EqualityâIf obj

2025-01-10 15:47:30