Articles related to ruby files
Running Ruby Scripts--Executing rb Files - About.com
Learn how to use the command line interface on Windows, Linux and OS X to run rb files and use the interactive Ruby program.
Reading Files - Ruby - About.com
Ruby programs rarely exist in their own little world. And while many choose to communicate over the internet, there's still plenty of need to access plain old files.
Getting Information About a File in Ruby Using File::Stat - About.com
For this, Ruby provides the File::stat class method, which will query the operating system about the file without opening it. It takes a single parameter, the ...
Using Logger Library: How to Write Log Files in Ruby - About.com
How to use the logger library to create and write to log files in Ruby.
Net:SSH--Transferring Files with Net::SCP - Ruby - About.com
One common use for SSH is to transfer files using the SCP protocol over SSH. You can use SCP in your Ruby programs with the Net::SCP library, which is a ...
Is the "Require" Method Overlooked in Ruby? - About.com
The 'require' method is the reusable code mechanism in Ruby. It allows you to import other source files into your programs.
Using Rack - Ruby - About.com
A Rack application is any Ruby object that responds to the call method, takes a single ... A very basic Rackup file for the above would look something like this.
Using Glob With Directories (Dir.glob) in Ruby - About.com
In the previous article in this series, we discussed the basics of the Dir class. Particularly useful was the Dir.foreach method for iterating over all files in a directory ...
Using Temporary Files - Ruby - About.com
There are many hidden pitfalls when using temporary files. Ruby's Tempfile class solves many of these.
Load Vs. Require - Ruby - About.com
It is a method in the Kernel module, but in MRI it is implemented in C (it would have to be, as Ruby has no API for loading and parsing Ruby files other than ...