DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby read file line by line
File
.
readlines
(
'foo'
)
.
each
do
|
line
|
puts line
end
PREVIOUS
NEXT
Tagged:
#ruby
#read
#file
#line
#line
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit