summaryrefslogtreecommitdiff
path: root/net/nemesis/PLIST
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-06-19 10:32:17 +0000
committertaca <taca@pkgsrc.org>2011-06-19 10:32:17 +0000
commit38e2f961655b1e42831855b3af48748376daf5da (patch)
treec8fd890997f46a86611770c6821795c3565070f1 /net/nemesis/PLIST
parent972397e911b8d7fff8f8a6ced2522c960e585c88 (diff)
downloadpkgsrc-38e2f961655b1e42831855b3af48748376daf5da.tar.gz
Import ruby18-rbx-require-relative pacakge version 0.0.5.
It is required by new ruby-linecache package. Ruby 1.9's relative_relative for Rubinus and MRI 1.8 Here we add in Module RequireRelative method: *require_relative*, and *abs_file*. Example: require 'rubygems'; require 'require_relative' require_relative './lib/foo' absolute_path = RequireRelative.abs_file But why *abs_file*? Well, recall that ==__FILE__== does not give an absolute path. So if you have chdir'd before using ==__FILE__==, you might not be able to retrieve the full path.
Diffstat (limited to 'net/nemesis/PLIST')
0 files changed, 0 insertions, 0 deletions