From: Brian Candler Date: 2009-07-07T00:21:38+09:00 Subject: Re: How to test %x[] calls? I guess it's because Kernel isn't the receiver of the call. It's the top-level main object (of class Object, which mixes in Kernel) >> self => main >> self.class => Object >> class < # >> %x{cat /dev/null} yay! => nil >> -- Posted via http://www.ruby-forum.com/.