Method: Hash#to_html_attrs

Defined in:
lib/pupu/dsl.rb

#to_html_attrsObject



8
9
10
# File 'lib/pupu/dsl.rb', line 8

def to_html_attrs
  self.map { |key, value| "#{key}='#{value}'" }.join(" ")
end