method

String

Importance_1
Ruby latest stable (v1_8_7_72) - 0 notes - 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"
Show source
Register or log in to add new notes.