Module: MailyHerald::Autonaming::InstanceMethods

Defined in:
lib/maily_herald/autonaming.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



33
34
35
# File 'lib/maily_herald/autonaming.rb', line 33

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#to_sObject



37
38
39
# File 'lib/maily_herald/autonaming.rb', line 37

def to_s
  self.title || self.name
end