lib/metamagic.rb in metamagic-2.0.6 vs lib/metamagic.rb in metamagic-3.0.0.beta1
- old
+ new
@@ -1,4 +1,12 @@
-require "metamagic/version"
-require 'metamagic/helper_methods'
+%w{
+ version
+ tag
+ tags/meta_tag
+ tags/title_tag
+ tags/property_tag
+ tags/custom_tag
+ renderer
+ helper_methods
+}.each { |f| require "metamagic/#{f}" }
ActionView::Base.send :include, Metamagic::HelperMethods
\ No newline at end of file