method

String

v1_9_2_180 - Show latest stable - Class: Kernel
String(p1)
public

Converts arg to a String by calling its to_s method.

String(self)        #=> "main"
String(self.class)  #=> "Object"
String(123456)      #=> "123456"