Module: Plug::Concerns::ModelHelpers::ClassMethods

Defined in:
app/models/plug/concerns/model_helpers.rb

Instance Method Summary collapse

Instance Method Details

#humanized_class_nameObject



40
41
42
# File 'app/models/plug/concerns/model_helpers.rb', line 40

def humanized_class_name
  name.demodulize.underscore.humanize.capitalize
end