The relative library enhances Ruby's core and standard libraries to support naming, opening, and reading files relative to the Ruby file currently being interpreted (the contents of the __ FILE __ identifier). This functionality is especially useful in embedded Ruby (eruby, erb, erubis, etc.) where absolute paths or paths relative to the interpreter's current working directory are problematic (due to file system structures and working directories varying across platforms and web servers).

Required Ruby Version

None

Authors

DesigningPatterns

Versions

  1. 1.0.3
    1. source

      1. 1.0.3 source January 17, 2010 (9 KB)
  2. 1.0.2
    1. source

      1. 1.0.2 source June 27, 2008 (8.5 KB)
  3. 1.0.1
    1. source

      1. 1.0.1 source June 26, 2008 (8.5 KB)
  4. 1.0.0
    1. source

      1. 1.0.0 source June 26, 2008 (8.5 KB)

SHA 256 checksum