Sha256: 6f41d323defaeaeeb9fb123df1fbd1e9eee830cc5b0289830db20b722a5a374e
Contents?: true
Size: 334 Bytes
Versions: 10
Compression:
Stored size: 334 Bytes
Contents
class Tables < Erector::Widget def content table do thead do tr do th 'Name' th 'Age' end end tbody do @users.each do |user| tr do td user[:name] td user[:age] end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems