method

inspect

v1_8_6_287 - Show latest stable - Class: MatchData
inspect()
public

Returns a string representing obj. The default to_s prints the object’s class and an encoding of the object id. As a special case, the top-level object that is the initial execution context of Ruby programs returns ``main.’‘