Class: RandomPerson::Names::ThaiFirst
- Inherits:
-
RandomPerson::Name
- Object
- RandomPerson::Name
- RandomPerson::Names::ThaiFirst
- Defined in:
- lib/randomperson/Names/ThaiFirst.rb
Instance Attribute Summary
Attributes inherited from RandomPerson::Name
#formats, #formats_ratiod, #names
Instance Method Summary collapse
-
#initialize ⇒ ThaiFirst
constructor
A new instance of ThaiFirst.
- #setupnames ⇒ Object
Methods inherited from RandomPerson::Name
Constructor Details
#initialize ⇒ ThaiFirst
Returns a new instance of ThaiFirst.
8 9 10 11 12 13 14 15 |
# File 'lib/randomperson/Names/ThaiFirst.rb', line 8 def initialize @formats = { :single => ->(n) { n.rand }, } @formats_ratiod = [ (0..99)] setupnames end |
Instance Method Details
#setupnames ⇒ Object
18 19 20 |
# File 'lib/randomperson/Names/ThaiFirst.rb', line 18 def setupnames @names = %w{ กมล กาญจนา เกษม จารุวรรณ ดวงใจ ถนอม ทัศนีย์ ธงชัย ธิดา ณรงค์ นงลักษณ์ นพดล นฤมล นิตยา บัญชา ประจักษ์ ประชา ประทุม ปัญญา ปราณี ปรีชา พรชัย พรรณี ไพบูลย์ ไพโรจน์ มนตรี มานะ มานิตย์ มาลี ยุพิน รัชนี รัตนา วัฒนา วราภรณ์ วาสนา วิเชียร วินัย วิโรจน์ ศศิธร ศิริพร สมชาย สมทรง สมพร สมหมาย สมศรี สำราญ สุกัญญา สุชาดา สุชาติ สุเทพ สุนีย์ สุภาภรณ์ อนงค์ อนันต์ } end |