Sha256: 5d5686d24dd5ba43bc4e18c34433e3fa67d0c07effbd3c534857c6bd6d1a7deb
Contents?: true
Size: 285 Bytes
Versions: 7
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true module Effective module TableRows class ContentFor < Effective::TableRow def to_html(&block) content_tag(:tr) do content_tag(:td, label) + content_tag(:td, template.capture(&block)) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems