Sha256: 1904347a7d26c871ed8551d73eb1cdcef760c89dbc6175b378d1ddc01c6e8b3d
Contents?: true
Size: 544 Bytes
Versions: 13
Compression:
Stored size: 544 Bytes
Contents
name = "Adhithya Rajasekaran ".rstrip puts name name = " Adhithya Rajasekaran".lstrip puts name name = "Adhithya Rajasekaran".split puts name name = " Adhithya Rajasekaran ".strip puts name name = "Adhithya,Rajasekaran".split(",") puts name name = ["Adhithya","Rajasekaran"].join puts name def jsonprint(inputjson) puts inputjson end def jsonp(inputjson) puts inputjson end def parsejson(inputtext) inputtext.split("{") end parsejson jsonprint "{message:Hello World!}" jsonprint "{message:Hello World!}"
Version data entries
13 entries across 13 versions & 1 rubygems