From: Robert Dober Date: 2008-12-05T17:43:09+09:00 Subject: Re: 'and' keyword? On Thu, Dec 4, 2008 at 11:28 PM, David A. Black wrote: I do not think highly of the following code in general, but if this is about some literal programming idea it might come in handy. Children just do not use it when home alone ;) irb(main):010:0> class Object irb(main):011:1> def and &blk irb(main):012:2> blk.call irb(main):013:2> end irb(main):014:1> end => nil irb(main):015:0> puts( 42 ).and { puts 42 }.and { puts 42 } 42 42 42 Cheers R.