lib/faker/university.rb in faker-1.8.4 vs lib/faker/university.rb in faker-1.8.5
- old
+ new
@@ -14,18 +14,14 @@
def suffix
fetch('university.suffix')
end
def greek_organization
- organization = ''
- 3.times do |e|
- organization = organization + sample(greek_alphabet)
- end
- organization
+ 3.times.map { |_| sample(greek_alphabet) }.join
end
def greek_alphabet
- ['Α', 'B', 'Γ', 'Δ', 'E', 'Z', 'H', 'Θ', '|', 'K', 'Λ', 'M', 'N', 'Ξ',
+ ['Α', 'B', 'Γ', 'Δ', 'E', 'Z', 'H', 'Θ', 'I', 'K', 'Λ', 'M', 'N', 'Ξ',
'O', 'Π', 'P', 'Σ', 'T', 'Y', 'Φ', 'X', 'Ψ', 'Ω']
end
end
end
end