Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/pupu/dsl.rb

Instance Method Summary collapse

Instance Method Details

#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