method
new
Ruby latest stable (v2_5_5)
-
0 notes -
Class: StringScanner
new(p1, p2 = v2)
public
Creates a new StringScanner object to scan over the given string. dup argument is obsolete and not used now.