RubyGems Navigation menu

rbx-require-relative 0.0.9

Ruby 1.9's require_relative for Rubinius and MRI 1.8. We also add abs_path which is like __FILE__ but __FILE__ can be fooled by a sneaky "chdir" while abs_path can't. If you are running on Ruby 1.9 or greater, require_relative is the pre-defined version. The benefit we provide in this situation by this package is the ability to write the same require_relative sequence in Rubinius 1.8 and Ruby 1.9.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.9 - February 28, 2012 (8.5 KB)
  2. 0.0.7 - February 27, 2012 universal-ruby-1.8.7 (8.5 KB)
  3. 0.0.7 - February 27, 2012 universal-ruby-1.9.3 (8.5 KB)
  4. 0.0.7 - February 27, 2012 (8.5 KB)
  5. 0.0.7 - February 27, 2012 universal-rubinius-1.2 (8.5 KB)
显示所有版本 (共 19 个)

业主:

作者:

  • R. Bernstein

SHA 256 校验和:

002c8b49f02e8e682cf0817acc52150cee9ded3fb1968652570f882088983d9a

下载总量 1,402,557

这个版本 792,668

许可:

需要的 Ruby 版本:

链接: