# Username Generator

**URL:** <https://www.ruby-forum.com/t/username-generator/194828>\
**Category:** Ruby\
**Created:** [September 11, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/username-generator/194828 "2010-09-11T17:45:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![humandictionary](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/65b543/32.png) [@humandictionary](https://www.ruby-forum.com/u/humandictionary)\
**Post date:** [September 11, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/username-generator/194828/1 "2010-09-11T17:45:42Z")

</div>

How would one go about starting to write this? I don’t want you to write  
the code for me, but I don’t want to use any gems. I just need to know  
of some modules or something I should look into. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![humandictionary](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/65b543/32.png) [@humandictionary](https://www.ruby-forum.com/u/humandictionary)\
**Post date:** [September 11, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/username-generator/194828/2 "2010-09-11T20:05:20Z")

</div>

On 09/11/2010 08:45 AM, Hd Pwnz0r wrote:

> How would one go about starting to write this? I don’t want you to write  
> the code for me, but I don’t want to use any gems. I just need to know  
> of some modules or something I should look into. Thanks in advance.

> > puts rand(128).chr  
> > X  
> > =\> nil
> 
> > puts rand(128).chr  
> > C  
> > =\> nil
> 
> > puts rand(128).chr  
> > g

Hope that is a start…
