Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Hash#select and Hash#reject

Reply
Thread Tools

Hash#select and Hash#reject

 
 
Erik Veenstra
Guest
Posts: n/a
 
      09-21-2005
Enumerable#select is kind of the opposite of Enumerable#reject.

But Hash#select isn't the opposite of Hash#reject. The latter
is defined explicitly in Hash, the former is mixed in with
Enumerable.

Why?

It bit me...

gegroet,
Erik V. - http://www.erikveen.dds.nl/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
if and and vs if and,and titi VHDL 4 03-11-2007 05:23 AM



Advertisments