Sha256: 720bc26b4bc3116de8e254c86d20bb1b1ee25746d8c5c143eae63f5caee86380

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

= Load Path Find

Useful tools for looking for files on the $LOAD_PATH

== Usage

  > require 'load_path_find'
  > $LOAD_PATH.find_file('set.rb')
  < "/opt/local/lib/ruby/1.8/set.rb"
  
.. Load a bunch of gems with spec directories ..  
  
  > $LOAD_PATH.find_all_files('../spec')

And you'll get an array of matches.

  > $LOAD_PATH.find_all_files('../spec') {|file| puts "here is a spec! #{file}"}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
load_path_find-0.0.1 README.rdoc