Sha256: 0e09bdb514f1a35938a077b2be5e415e933054121a003978680be2a18fd4c359
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
module RenderTable::Html def self.html_string(html_procedure_hash, record, index) accumulated_html_strings = [] html_procedure_hash.each do |html_string, procedure| next unless procedure.call(record, index) accumulated_html_strings << html_string end accumulated_html_strings.join(' ') end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
render_table_v2-2.0.1 | lib/render_table/html.rb |
render_table-1.1.1 | lib/render_table/html.rb |