class Esquema::VirtualColumn
rubocop:disable Style/Documentation
def class_name
def class_name @property_name.to_s.classify end
def collection?
def collection? @options[:type] == :array end
def columns
def columns [] end
def default
def default @options[:default] end
def description
def description @options[:description] end
def initialize(property_name, options = {})
def initialize(property_name, options = {}) @property_name = property_name @options = options end
def item_type
def item_type @options.dig(:items, :type) end
def name
def name @property_name.to_s end
def title
def title @options[:title] end
def type
def type @options[:type] end