lib/nameable.rb in morse_nameable-1.1.0 vs lib/nameable.rb in morse_nameable-1.2.0
- old
+ new
@@ -42,12 +42,16 @@
def surname
lastname
end
-
def surname=(thing)
self.lastname=thing
+ end
+
+ def title
+ return super if defined?(super)
+ full_name
end
private