Class: RandomPerson::Names::GermanLast
- Inherits:
-
RandomPerson::Name
- Object
- RandomPerson::Name
- RandomPerson::Names::GermanLast
- Defined in:
- lib/randomperson/Names/GermanLast.rb
Instance Attribute Summary
Attributes inherited from RandomPerson::Name
#formats, #formats_ratiod, #names
Instance Method Summary collapse
-
#initialize ⇒ GermanLast
constructor
A new instance of GermanLast.
- #setupnames ⇒ Object
Methods inherited from RandomPerson::Name
Constructor Details
#initialize ⇒ GermanLast
Returns a new instance of GermanLast.
8 9 10 11 12 13 14 15 |
# File 'lib/randomperson/Names/GermanLast.rb', line 8 def initialize @formats = { :single => ->(n) { n.rand } } @formats_ratiod = [ (0..99) ] setupnames end |
Instance Method Details
#setupnames ⇒ Object
17 18 19 |
# File 'lib/randomperson/Names/GermanLast.rb', line 17 def setupnames @names = %w(Müller Schmidt Schneider Fischer Weber Meyer Wagner Becker Schulz Hoffmann Schäfer Koch Bauer Richter Klein Wolf Schröder Neumann Schwarz Zimmermann Braun Krüger Hofmann Hartmann Lange Schmitt Werner Schmitz Krause Meier Lehmann Schmid Schulze Maier Köhler Herrmann König Walter Mayer Huber Kaiser Fuchs Peters Lang Scholz Möller Weiß Jung Hahn Schubert Vogel Friedrich Keller Günther Frank Berger Winkler Roth Beck Lorenz Baumann Franke Albrecht Schuster Simon Ludwig Böhm Winter Kraus Martin Schumacher Krämer Vogt Stein Jäger Otto Sommer Groß Seidel Heinrich Brandt Haas Schreiber Graf Schulte Dietrich Ziegler Kuhn Kühn Pohl Engel Horn Busch Bergmann Thomas Voigt Sauer Arnold Wolff Pfeiffer ) end |