lib/active_admin/arbre/html/attributes.rb in activeadmin-0.3.4 vs lib/active_admin/arbre/html/attributes.rb in activeadmin-0.4.0

- old
+ new

@@ -1,10 +1,10 @@ module Arbre module HTML class Attributes < Hash - def to_html + def to_s self.collect do |name, value| "#{html_escape(name)}=\"#{html_escape(value)}\"" end.join(" ") end