Module: Trepanning::FileName
- Defined in:
- app/file.rb
Instance Method Summary collapse
Instance Method Details
#find_load_path(filename) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'app/file.rb', line 7 def find_load_path(filename) cl = Rubinius::CodeLoader.new(filename) if cl.verify_load_path(filename) path = cl.instance_variable_get('@load_path') path.end_with?(filename) ? filename : nil else nil end end |