RubyGems Navigation menu

relative 1.0.2

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).

Versions:

  1. 1.0.3 - January 17, 2010 (9 KB)
  2. 1.0.2 - June 27, 2008 (8.5 KB)
  3. 1.0.1 - June 26, 2008 (8.5 KB)
  4. 1.0.0 - June 26, 2008 (8.5 KB)

Runtime Dependencies:

Authors:

  • DesigningPatterns

Owners:

A5cc1adb7512c5eb66b38c01cf72d2e2B954a23971e0267a15f87f4fc1990e074177100c7295da55efdcfacc005b9d4a

Total downloads 35,127

For this version 1,943

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'relative', '~> 1.0.2' = Copy to clipboard Copied!

install:
gem install relative -v 1.0.2 = Copy to clipboard Copied!

Links: