Public Instance Methods| ruby-doc.org
Regular expressions (regexps) are patterns which describe the contents of a string. They’re used for testing whether a string contains a given pattern, or extracting the portions that match. They are created with the /pat/ and %r{pat} literals or the Regexp.new constructor.| ruby-doc.org
A String object has an arbitrary sequence of bytes, typically representing text or binary data. A String object may be created using String::new or as literals.| ruby-doc.org
A Range object represents a collection of values that are between given begin and end values.| ruby-doc.org
An Array is an ordered, integer-indexed collection of objects, called elements. Any object (even another array) may be an array element, and an array can contain objects of different types.| ruby-doc.org
A Hash maps each of its unique keys to a specific value.| ruby-doc.org