# Re: uniq() Oddity

**URL:** <https://www.ruby-forum.com/t/re-uniq-oddity/63914>\
**Category:** Ruby\
**Created:** [June 20, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/re-uniq-oddity/63914 "2006-06-20T16:45:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [June 20, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/re-uniq-oddity/63914/1 "2006-06-20T16:45:14Z")

</div>

> -----Original Message-----  
> From: James Edward G. II [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
> Sent: Tuesday, June 20, 2006 8:32 AM  
> To: ruby-talk ML  
> Subject: Re: uniq() Oddity

> So which one is uniq() really using? eql?()?
> 
> James Edward G. II

Yep. Define Hash#eql however you want and it should work. (See Guy’s  
post)

Regards,

Dan

This communication is the property of Qwest and may contain confidential  
or  
privileged information. Unauthorized use of this communication is  
strictly  
prohibited and may be unlawful. If you have received this communication  
in error, please immediately notify the sender by reply e-mail and  
destroy  
all copies of the communication and any attachments.
