Module: AbAdmin::Concerns::AssetHumanNames::ClassMethods

Defined in:
lib/ab_admin/concerns/asset_human_names.rb

Instance Method Summary collapse

Instance Method Details

#asset_human_names(*args) ⇒ Object


7
8
9
10
11
# File 'lib/ab_admin/concerns/asset_human_names.rb', line 7

def asset_human_names(*args)
  class_attribute :asset_human_names_list, instance_writer: false
  after_save :make_asset_human_names
  self.asset_human_names_list = args
end