method
tag_options
tag_options(options)
private
Hide source
# File actionpack/lib/action_view/helpers/tag_helper.rb, line 35 def tag_options(options) cleaned_options = convert_booleans(options.stringify_keys.reject {|key, value| value.nil?}) ' ' + cleaned_options.map {|key, value| %(#{key}="#{html_escape(value.to_s)}")}.sort * ' ' unless cleaned_options.empty? end