From: ts Date: 2005-01-13T19:06:27+09:00 Subject: Re: Duck Typing as Pattern Matching >>>>> "D" == David A Black writes: D> It's perfectly correct -- a little artificial, perhaps, but not D> incorrect. It's actually only the tip of the iceberg when it comes to D> method_missing; all sorts of such things can happen. Why do you think that it's artifical ? svg% cat b.rb #!/usr/local/bin/ruby $LOAD_PATH.unshift("../src") require 'bdbxml' txn = BDB::Env.new("tmp", BDB::INIT_TRANSACTION).manager.transaction p txn.respond_to?(:create_modify) p txn.create_modify svg% svg% b.rb false # svg% :-) Guy Decoux