gistlib
other ruby categories
file-io code snippets in ruby
append to a file in ruby
append to a json file in ruby
copy a csv file in ruby
create a csv file in ruby
create a json file in ruby
find the name of a csv file in ruby
find the path of a json file in ruby
find the size of a json file in ruby
if a file.txt is in the same directory, can i use load to load it into my function that should read the contents to screen? how? in ruby
read a csv file in ruby
what am i doing wrong? `class twelvedays def self.song = p file.open('ruby/twelve-days/song.txt', "r").read end` in ruby
write to a csv file in ruby
gistlib
by LogSnag