Class: Renalware::System::ColumnDefinition
- Inherits:
-
Object
- Object
- Renalware::System::ColumnDefinition
- Includes:
- StoreModel::Model
- Defined in:
- app/models/renalware/system/column_definition.rb
Overview
Backed by Jsonb, stored in view_metadata.columns, a model to allow us to specify how a SQL view column is displayed in an HTML table in the UI.
Instance Method Summary collapse
Instance Method Details
#title ⇒ Object
38 39 40 |
# File 'app/models/renalware/system/column_definition.rb', line 38 def title @title ||= name.presence || code.humanize end |