Method: EVTable#rwd_metadata
- Defined in:
- lib/rwd/rwd.rb
#rwd_metadata ⇒ Object
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 |
# File 'lib/rwd/rwd.rb', line 250 def res = [] res << "<table>" res << "<row>" res << " <empty/>" res << " <text name='header_new' value=''/>" res << "</row>" @headers.each_index do |n| res << "<row>" res << " <text name='header_#{n}_old' value='#{@headers[n]}'/>" res << " <text name='header_#{n}_new' value=''/>" res << "</row>" end res << "</table>" return res.join("\n") end |