2 posts in total


Posts tagged

Working with Files in Ruby

by Syed Aslam · 10 min read

It all starts with the IO class. The IO class is the basis for all input and output in Ruby either by itself or via its descendant classes, particularly File. To a large extent, IO's API consists of wrappers around system library calls, with some enhancements and modifications. A ...

Loading data from multiple files in Ruby using Hash

by Syed Aslam · 2 min read

Lately, I have been working applications which require data from an external source to be loaded into the local database. One such application is Sydrea (in the making!), which requires the Drug information to be loaded. Drugs@FDA is freely downloadable compressed zip file which ...