module Fluffery class Config def self.forms @forms ||= { :error_class => 'field_with_errors', :message_error_class => 'errors_for_field', :error_template => %{ <%= html_tag %> <%= [messages].flatten.join(",") %> } } end def self.dom @dom ||= {} end def initialize yield Fluffery::Config if block_given? end end end