method

new

v2_5_5 - Show latest stable - Class: Ripper
new(p1, p2 = v2, p3 = v3)
public

Create a new Ripper object. src must be a String, an IO, or an Object which has #gets method.

This method does not starts parsing. See also Ripper#parse and Ripper.parse.