def locale_dating_naming_checks(args, options)
      options.reverse_merge!(:format => :default)
      options[:ending] ||= "as_#{options[:format]}".to_sym unless options[:format] == :default
      options[:ending] ||= :as_text
      # error if multiple args used with :name option
      raise MethodOverwriteError, "multiple attributes cannot be wrapped with an explicitly named method" if args.length > 1 && options.key?(:name)
    end
def locale_dating_naming_checks(args, options)
      options.reverse_merge!(:format => :default)
      options[:ending] ||= "as_#{options[:format]}".to_sym unless options[:format] == :default
      options[:ending] ||= :as_text
      # error if multiple args used with :name option
      raise MethodOverwriteError, "multiple attributes cannot be wrapped with an explicitly named method" if args.length > 1 && options.key?(:name)
    end
Given the options for a locale_dating call, set the defaults for the naming convention to use.