method
new
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
new(p1, p2 = v2)
public
Creates a new StringScanner object to scan over the given string. dup argument is obsolete and not used now.
new(p1, p2 = v2)
public
Creates a new StringScanner object to scan over the given string. dup argument is obsolete and not used now.