Class: AdminAssistant::ShowSettings

Inherits:
AbstractSettings show all
Defined in:
lib/admin_assistant/builder.rb

Instance Attribute Summary collapse

Attributes inherited from AbstractSettings

#column_names

Instance Method Summary collapse

Methods inherited from AbstractSettings

#[], #columns, #initialize

Constructor Details

This class inherits a constructor from AdminAssistant::AbstractSettings

Instance Attribute Details

#model_class_name_blockObject (readonly)

Returns the value of attribute model_class_name_block


328
329
330
# File 'lib/admin_assistant/builder.rb', line 328

def model_class_name_block
  @model_class_name_block
end

Instance Method Details

#column_config_fieldsObject


330
331
332
# File 'lib/admin_assistant/builder.rb', line 330

def column_config_fields
  {}
end

#model_class_name(&block) ⇒ Object


334
335
336
# File 'lib/admin_assistant/builder.rb', line 334

def model_class_name(&block)
  @model_class_name_block = block
end