# File helper.rb, line 4 def hash2attributes(html_options) return "" if html_options.nil? html_options.inject(""){|acc,v|acc+" #{v[0].to_s}='#{v[1].to_s}'"} end