With Ruby, where to use NOT, AND, OR, XOR operations for Fixnum or Bignum?

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-05-14T03:59:53Z Indexed on 2010/05/14 4:04 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

Hi,

Just wondering if anyone has any realworld examples or know when you might use the NOT, AND, OR, XOR, <<, >> operators in Ruby.

I've been programming for 4 years and never come across the need to use any of these, wondering how common actual usage is & if its something I should fully understand.

Thanks, -J

© Stack Overflow or respective owner

Related posts about ruby

Related posts about fixnum