Join CSnippTM today and be a part of 5,000+ developers like you. for FREE !!!
 
Private
      Fork

Filenumber   61


Snipp
fo = File.open("testfile.odt", "w") 
fo.write("So basically we're just testing this motherfucking thing. This is the second line. And this is the third.")
line = fo.lineno

puts line



Comments



    Register/Login to Chat and take part in the discussion


    coderhs-profile-picture

    Harisankar P S  (234)

    Click to view more