# File lib/whiskey_disk/config/filters/hashify_domain_entries_filter.rb, line 23 def filter(data) data.merge('domain' => hashify_domains(data['domain'])) end
# File lib/whiskey_disk/config/filters/hashify_domain_entries_filter.rb, line 10 def hashify_domain(domain) needs_hashing?(domain) ? { 'name' => domain } : domain end
# File lib/whiskey_disk/config/filters/hashify_domain_entries_filter.rb, line 18 def hashify_domains(domain_list) return new_domain unless domain_list [ domain_list ].flatten.collect {|domain| hashify_domain(domain) } end
Generated with the Darkfish Rdoc Generator 2.