Class: RandomPerson::Names::FrenchMaleFirst

Inherits:
RandomPerson::Name show all
Defined in:
lib/randomperson/names/french-male-first.rb

Constant Summary collapse

Names =
%w{ Adrien Aimé Alain Alexandre Alexi Alfred Alphonse Amaur André Antoine Anto Arnau Arthur Auguste Augustin Benjamin Benoît Bernard Bertrand Brun Charles Christia Christophe Claude Cyrille Daniel David Denis Didie Dominique Édouard Émile Emmanuel Éric Étienne Eugène Francis François Franck Frédéric Gabriel Gasto Georges Gérard Gilbert Gilles Grégoire Guillaume Guy Gustav Henri Honoré Hugues Isaac Jacques Jacquot Jean Jeannot Jérôme Joseph Jules Julien Laurent Léon Louis Luc Lucas Marc Marcel Martin Matthieu Maurice Michel Nicolas Noël Olivier Pasca Patrick Patrice Paul Philippe Pierre Raymond Rémy René Richard Robert Roger Roland Sébastien Serg Stéphane Théodore Théophile Thibaut Thierry Thomas Timothée Tristan Victor Vincent Xavier Yves Zacharie }

Instance Attribute Summary

Attributes inherited from RandomPerson::Name

#formats, #formats_ratiod, #names, #possibles

Instance Method Summary collapse

Methods included from Outputter

included

Constructor Details

#initializeFrenchMaleFirst

Returns a new instance of FrenchMaleFirst.



10
11
12
13
14
15
16
17
18
# File 'lib/randomperson/names/french-male-first.rb', line 10

def initialize
  @names = Names
  @formats = [
    ->(n)   { n.sample },
    ->(n)   { n.sample + '-' + n.sample },
   ]
  @formats_ratiod = [ 0..70, 71..99 ]
  super
end