Class: AdminAssistant::BaseSettings
Instance Attribute Summary
#column_names
Instance Method Summary
collapse
#[], #columns, #initialize
Instance Method Details
#all_polymorphic_types ⇒ Object
145
146
147
|
# File 'lib/admin_assistant/builder.rb', line 145
def all_polymorphic_types
@column_configs.values.map(&:polymorphic_types).flatten.compact
end
|
#column_config_fields ⇒ Object
149
150
151
152
|
# File 'lib/admin_assistant/builder.rb', line 149
def column_config_fields
{:boolean_labels => :accessor, :label => :accessor,
:polymorphic_types => :accessor, :strftime_format => :accessor}
end
|