# File lib/webby/core_ext/hash.rb, line 4 def sanitize! h = self.injecting({}) do |h, (k, v)| h[k] = case v when 'none', 'nil'; nil when 'true', 'yes'; true when 'false', 'no'; false else v end end self.replace h end
Generated with the Darkfish Rdoc Generator 2.