Module: Hyhyhy::Parser
Instance Method Summary collapse
Instance Method Details
#header(headers) ⇒ Object
7 8 9 |
# File 'lib/hyhyhy/parser.rb', line 7 def header(headers) return headers.map{|a| "#{a[:name]}='#{a[:value]}'"}.join(' ') end |
7 8 9 |
# File 'lib/hyhyhy/parser.rb', line 7 def header(headers) return headers.map{|a| "#{a[:name]}='#{a[:value]}'"}.join(' ') end |