Skip to content

Instantly share code, notes, and snippets.

@chanian
chanian / gist:1731922
Created February 3, 2012 19:31 — forked from xchoi/gist:1516166
Asian name generator
%w(a e i o u).map {|x|
['', 'a', 'e', 'i', 'o', 'u'].map {|y|
['', 'n', 'ng'].map {|z| (x!=y) ? 'ch' + x + y + z : nil }
}
}.flatten.uniq.compact