Articles related to ruby files
Running Ruby Scripts--Executing rb Files - About.com
Once there, you can list files, using the dir command on Windows or the ls command on Linux or OS X. Your Ruby files will all have the .rb file extension. To run ...
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.
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 ...
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 ...
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 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 ...
How to Install Ruby One-Click Installer on Windows - About.com
To start the bundled editor for Ruby files, click on SciTE. To start the graphical documentation browser, click on fxri. Right-click in any folder, such as the Desktop ...
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 ...
Using Git With Ruby on Rails - About.com
Git is the most popular version control system for use with Ruby on Rails. There are ... OK, now you have a new empty repository, let's add all the files. Strictly ...