def css_class_options_merge(options, css_classes = [], &block)
      options.symbolize_keys!
      css_classes += options[:class].split(' ') if options.include?(:class)
      yield(css_classes) if block_given?
      options[:class] = css_classes.join(' ') unless css_classes.empty?
      unless css_classes == css_classes.uniq
        fail "Multiple css class definitions: #{css_classes.inspect}"
      end

      options
    end
def css_class_options_merge(options, css_classes = [], &block)
      options.symbolize_keys!
      css_classes += options[:class].split(' ') if options.include?(:class)
      yield(css_classes) if block_given?
      options[:class] = css_classes.join(' ') unless css_classes.empty?
      unless css_classes == css_classes.uniq
        fail "Multiple css class definitions: #{css_classes.inspect}"
      end

      options
    end
This method merges the specified css_classes into the options hash