lib/docks/renderers/common_features/helperable.rb in docks_app-0.0.2 vs lib/docks/renderers/common_features/helperable.rb in docks_app-0.0.3

- old
+ new

@@ -7,10 +7,10 @@ helpers.each do |helper| if helper.kind_of?(Module) self.send(:extend, helper) elsif File.exists?(helper) - load_helpers.module_eval(File.read(helper)) + load_helpers.module_eval(File.read(helper), helper, 0) end end load_helpers.constants.each do |constant| self.send(:extend, load_helpers.const_get(constant))