Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/pupu/dsl.rb
Instance Method Summary collapse
Instance Method Details
#to_html_attrs ⇒ Object
8 9 10 |
# File 'lib/pupu/dsl.rb', line 8 def to_html_attrs self.map { |key, value| "#{key}='#{value}'" }.join(" ") end |