io - Assign text from file to variable in Ruby without returning text -
i trying parse access logs ruby, file 363mb. i'm working in irb , when try assign text document variable data = logs.read begins returning text interpreter, @ 363mb issue.
how assign contents of file variable without returning value in interpreter?
start irb below :
irb --simple-prompt --noecho
--simple-promptirb prompt>>--noechooff echo on irb
here example:
c:\>irb --simple-prompt >> x = 2 => 2 >> exit c:\>irb --simple-prompt --noecho >> x = 2 >>
Comments
Post a Comment