lib/saneitized/hash.rb in saneitized-1.3.1 vs lib/saneitized/hash.rb in saneitized-1.3.2

- old
+ new

@@ -1,7 +1,9 @@ +require 'delegate' + module Saneitized - class Hash < SimpleDelegator + class Hash < ::SimpleDelegator def initialize(hash = {}, options = {}) @options = options new_hash = {} hash.each do |key, value| new_hash[key] = Saneitized.convert(value, options) end