From: gabriele renzi Date: 2004-07-16T05:02:28+09:00 Subject: Re: when will coerce be called? il 15 Jul 2004 01:38:06 -0700, "Xiangyu Yang" ha scritto:: >It seems that "coerce" is only used for numeric operators, and "to_int" >only for logical operators, and both not for "~". Then I need code for >~true .... > >ps. >Thank matz and your beautiful ruby. I have implemented a SW model for >my crypto processor and its powerful debug environment only in several >hundred lines. It's a productive language! If you're working with hardware check out http://www.aracnet.com/~ptkwt/ruby_stuff/RHDL/ Ruby Hardware Description Language :)