def wrap_with(type, content, options) #:nodoc:
      return if skip_blanks?(content)
      tag = options.delete(:"#{type}_tag") || ShowFor.send(:"#{type}_tag")

      if tag
        type_class = ShowFor.send :"#{type}_class"
        html_options = options.delete(:"#{type}_html") || {}
        html_options[:class] = [type_class, html_options[:class]].compact.presence
        @template.content_tag(tag, content, html_options)
      else
        content
      end
    end
def wrap_with(type, content, options) #:nodoc:
      return if skip_blanks?(content)
      tag = options.delete(:"#{type}_tag") || ShowFor.send(:"#{type}_tag")

      if tag
        type_class = ShowFor.send :"#{type}_class"
        html_options = options.delete(:"#{type}_html") || {}
        html_options[:class] = [type_class, html_options[:class]].compact.presence
        @template.content_tag(tag, content, html_options)
      else
        content
      end
    end
Gets the default tag set in ShowFor module and apply (if defined)
 around the given content. It also check for html_options in @options
 hash related to the current type.