> $ ri Enumerable#count
> Nothing known about Enumerable#count
> $ ruby -v
> ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1]
> Could it be specific to a Ruby version? The error I got was a method
> not found.
> Is this method specific to 1.9 ?
> I changed the ambition code to:
> remove_method :find, :find_all
> Which solved the problem.
> Cheers
> Mike
> On Apr 23, 5:08 pm, Ben Hoskings <b...@hoskings.net> wrote:
>> Enumerable#count is defined; to see the docs, just try a
>> $ ri Enumerable#count
>> Could you paste the error you're getting (i.e. the backtrace if it's
>> an exception)?
>> Ben
>> On 24/04/2009, at 12:49 AM, Mike Barton wrote:
>>> Hi,
>>> Is this line correct?
>>> remove_method :count, :find, :find_all
>>> I get an error when running ambition because I think Ruby Enumerable
>>> doesn't have a count method.
>>> Cheers
>>> Mike