lib/rails/active_assets.rb in active_assets-0.1.0 vs lib/rails/active_assets.rb in active_assets-0.2.0.rc
- old
+ new
@@ -1,11 +1,10 @@
+require 'rails/active_expansions'
+require 'rails/active_sprites'
require 'active_assets'
module Rails
module ActiveAssets
- def expansions(&blk)
- @expansions ||= ::ActiveAssets::ActiveExpansions::Expansions.new
- @expansions.instance_eval(&blk) if block_given?
- @expansions
- end
+ include ActiveExpansions
+ include ActiveSprites
end
end