Method: ActivityNotification::Common#printable_type

Defined in:
lib/activity_notification/common.rb

#printable_typeString

TODO:

Is this the best to make readable?

Convets to printable model type name to be humanized.

Returns:

  • (String)

    Printable model type name



132
133
134
# File 'lib/activity_notification/common.rb', line 132

def printable_type
  "#{self.to_class_name.demodulize.humanize}"
end