From: Rein Henrichs Date: 2010-06-07T09:45:05+09:00 Subject: Re: inject method of Array class In addition to the previously mentioned difference between #methods and #instance_methods, #inject is actually a method on the Enumerable module, which is mixed into Array (and other classes that have #each). The Enumerable module is full of methods that can be used on "things that can enumerate themselves", like Arrays, Hashes and Sets. -- Rein Henrichs http://puppetlabs.com http://reinh.com