Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/trunk/activesupport/lib/active_support/core_ext.rb

Revision 7719, 152 bytes (checked in by bitsweat, 10 months ago)

Ruby 1.9 compat, consistent load paths

Line 
1 Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].sort.each do |path|
2   filename = File.basename(path)
3   require "active_support/core_ext/#{filename}"
4 end
Note: See TracBrowser for help on using the browser.