lib/wrap_it.rb in wrap_it-0.1.0 vs lib/wrap_it.rb in wrap_it-0.1.1
- old
+ new
@@ -8,9 +8,10 @@
module WrapIt
#
module Helpers; end
def self.helpers(*list)
+ @helpers ||= {}
options = list.extract_options!
list.empty? && list = @helpers.keys
prefix = options[:prefix].blank? ? '' : "#{options[:prefix]}_"
helpers_hash = @helpers
Helpers.module_eval do