Randall Alexander wrote:
> I am just learning Ruby but it looks like the binary intersection of the
> true bits.  In shorter terms a binary "and" command.
> 3&6=2
> in binary
> 011&110=010
> 
> 3&7=3
> in binary
> 011&111=011
> 
> 7&21=5
> in binary
> 00111&10101=00101
> 
> Randy

Hi Randy,

Thank you very much for your quick reply.

Also i need help about these methods

+@
-@
=~

Thanks in Advance,
Thanks,
P.Raveendran
http://raveendran.wordpress.com
-- 
Posted via http://www.ruby-forum.com/.