Sha256: a0e560d5d1f07c06c346e21af4bafb42e14b294267907a9f642a0d1a209e1b8c
Contents?: true
Size: 266 Bytes
Versions: 1
Compression:
Stored size: 266 Bytes
Contents
# frozen_string_literal: true module Katalyst module Tables module Body # Shows Yes/No for boolean values class BooleanComponent < BodyCellComponent def rendered_value value ? "Yes" : "No" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katalyst-tables-3.0.0.beta1 | app/components/katalyst/tables/body/boolean_component.rb |