module ViewData::PG::Controls::Data

Public Class Methods

column_value() click to toggle source
# File lib/view_data/pg/controls/data.rb, line 13
def self.column_value
  'some-column-value'
end
example(column_value: nil) click to toggle source
# File lib/view_data/pg/controls/data.rb, line 5
def self.example(column_value: nil)
  column_value ||= self.column_value

  {
    :some_column => column_value
  }
end