How to get the directory of the current script?...
> File.dirname(__FILE__) will give you the current file's path. The current file may be accessed with a relative path. If ...
Ruby Weekly - Issue 102
Welcome to issue 102. I'm busy preparing for the next run of Ruby Reloaded , my online Ruby course aimed at intermediate R...
Pluto - Another Planet Generator in Ruby
Pluto - Another Planet Generator in Ruby Posted by geraldbauer on July 19, 2012 — 0 comments Lets you build web pages from...
uninitialized stream (IOError) - Ruby Forum
So I'm getting an unexpected IOError in my code. class ConfigStub < File def initialize(location) unless filename = locati...
