lib/sugar-high/class_ext.rb in sugar-high-0.4.9 vs lib/sugar-high/class_ext.rb in sugar-high-0.4.9.1
- old
+ new
@@ -96,9 +96,9 @@
# Here also could be adding of the file in top of load_paths like: $:.unshift File.dirname(__FILE__)
# It is very useful for situations of having not load_paths built Rails or Gems way.
args.each do |req_name|
- send :autoload, req_name, "#{from}/#{req_name.to_s.downcase}"
+ send :autoload, req_name, "#{from}/#{req_name.to_s.underscore}"
end
end
end