diff --git a/lib/haml.rb b/lib/haml.rb index a356f076..7a530ce8 100644 --- a/lib/haml.rb +++ b/lib/haml.rb @@ -720,7 +720,7 @@ module Haml # so we can change the initialization behavior # without modifying the file itself. def self.init_rails(binding) - %w[haml/template sass sass/plugin].each(&:require) + %w[haml/template sass sass/plugin].each(&method(:require)) end end