Posted By

inkdeep on 07/30/11


Tagged

ruby


Versions (?)

Require directory of files


 / Published in: Ruby
 

  1. Dir["#{::Rails.root.to_s}/test/blueprints/*.rb"].each { |f| require f }

Report this snippet  

You need to login to post a comment.