Project

General

Profile

Actions

Feature #5221

closed

LoadEerror#path

Added by ko1 (Koichi Sasada) over 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
[ruby-core:39079]

Description

I read a part of activesupport and they add a method LoadError#path to return unloaded file name (*1).

*1: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/load_error.rb

How about to add this method on trunk?

This is a patch with some re-factoring around LoadError:
http://www.atdot.net/sp/view/y5xeql/readonly?lang=diff


Files

noname (500 Bytes) noname tenderlovemaking (Aaron Patterson), 08/26/2011 02:53 AM
loaderror.patch (3.99 KB) loaderror.patch tenderlovemaking (Aaron Patterson), 02/25/2012 04:39 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0