Class: Arbre::HTML::Attributes
- Defined in:
- lib/active_admin/arbre/attributes.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
6 7 8 9 10 |
# File 'lib/active_admin/arbre/attributes.rb', line 6 def to_html self.collect do |name, value| "#{html_escape(name)}=\"#{html_escape(value)}\"" end.join(" ") end |