From: Jason Hutchens Date: 2006-03-27T19:48:54+09:00 Subject: Re: Duck typing bunches of strings What's wrong with "object.kind_of?(Enumerable)" and "class.include?(Enumerable)"? my_array = Array.new my_array.kind_of?(Enumerable) # => true Array.include?(Enumerable) # => true