Class: RandomPerson::Names::ThaiFirst

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

Constant Summary collapse

Names =
%w{ กมล กาญจนา เกษม จารุวรรณ ดวงใจ ถนอม ทัศนีย์ ธงชัย ธิดา ณรงค์ นงลักษณ์ นพดล นฤมล นิตยา บัญชา ประจักษ์ ประชา ประทุม ปัญญา ปราณี ปรีชา พรชัย พรรณี ไพบูลย์ ไพโรจน์ มนตรี มานะ มานิตย์ มาลี ยุพิน รัชนี รัตนา วัฒนา วราภรณ์ วาสนา วิเชียร วินัย วิโรจน์ ศศิธร ศิริพร สมชาย สมทรง สมพร สมหมาย สมศรี สำราญ สุกัญญา สุชาดา สุชาติ สุเทพ สุนีย์ สุภาภรณ์ อนงค์ อนันต์   }

Instance Attribute Summary

Attributes inherited from RandomPerson::Name

#formats, #formats_ratiod, #names, #possibles

Instance Method Summary collapse

Methods included from Outputter

included

Constructor Details

#initializeThaiFirst



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

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