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

b
  • References/Ruby on Rails/Ruby/Classes/String

str.b â str Instance Public methods Returns a copied string whose encoding

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

pathmap_partial(n) Instance Public methods Extract a partial path from the path

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

pathmap_replace(patterns, &block) Instance Public methods Preform the pathmap

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

pathmap_explode() Instance Public methods Explode a path into individual components

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

str.tr(from_str, to_str) => new_str Instance Public methods Returns a

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

str.upcase! â str or nil Instance Public methods Upcases the contents of

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

str.shellsplit => array Instance Public methods Splits str

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

str.include? other_str â true or false Instance Public methods Returns true

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

String#toutf16 => string Instance Public methods Convert self

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

str.replace(other_str) â str Instance Public methods Replaces the contents

2025-01-10 15:47:30