Class: Renalware::System::ColumnDefinition

Inherits:
Object
  • Object
show all
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

#titleObject



38
39
40
# File 'app/models/renalware/system/column_definition.rb', line 38

def title
  @title ||= name.presence || code.humanize
end