sanichi-chess_icu 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/name.rb +4 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/name.rb
CHANGED
@@ -63,14 +63,16 @@ Some of the ways last names are canonicalised are illustrated below:
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def name
|
66
|
-
name =
|
66
|
+
name = ''
|
67
|
+
name << @first
|
67
68
|
name << ' ' if @first.length > 0 && @last.length > 0
|
68
69
|
name << @last
|
69
70
|
name
|
70
71
|
end
|
71
72
|
|
72
73
|
def rname
|
73
|
-
name =
|
74
|
+
name = ''
|
75
|
+
name << @last
|
74
76
|
name << ', ' if @first.length > 0 && @last.length > 0
|
75
77
|
name << @first
|
76
78
|
name
|