Module: MasterModel::InstanceMethods

Defined in:
lib/enju_core/master_model.rb

Instance Method Summary collapse

Instance Method Details

#set_display_nameObject



17
18
19
# File 'lib/enju_core/master_model.rb', line 17

def set_display_name
  self.display_name = "#{I18n.locale}: #{self.name}" if self.display_name.blank?
end