Word
Inherits Reference < Object
The basic unit of the owoify function.
Constructors
new(word : String)
SourceInstance methods
replace(search_value : Regex, replace_value : String, replace_replaced_words : Bool = false)
Replace all matched items with a string.
replace_with_func_multiple(search_value : Regex, func : Proc(String, String, String), replace_replaced_words : Bool = false)
Replace all matched items by repeated calling a proc that accepts two strings and returns a string.
replace_with_func_single(search_value : Regex, func : Proc(String), replace_replaced_words : Bool = false)
Replace all matched items by repeatedly calling a proc that doesn't accept any parameter and returns a string.
to_s(io)
Source