Class: Koi::Tables::Body::BooleanComponent
- Inherits:
-
Koi::Tables::BodyCellComponent
- Object
- Katalyst::Tables::BodyCellComponent
- Koi::Tables::BodyCellComponent
- Koi::Tables::Body::BooleanComponent
- Defined in:
- app/components/koi/tables/body.rb
Overview
Shows Yes/No for boolean values
Instance Method Summary collapse
Methods inherited from Koi::Tables::BodyCellComponent
Instance Method Details
#rendered_value ⇒ Object
10 11 12 |
# File 'app/components/koi/tables/body.rb', line 10 def rendered_value value ? "Yes" : "No" end |