Method: ActivityNotification::Common#printable_type
- Defined in:
- lib/activity_notification/common.rb
#printable_type ⇒ String
TODO:
Is this the best to make readable?
Convets to printable model type name to be humanized.
132 133 134 |
# File 'lib/activity_notification/common.rb', line 132 def printable_type "#{self.to_class_name.demodulize.humanize}" end |