Iñaki Baz Castillo
2/23/2009 7:48:00 PM
El Lunes, 23 de Febrero de 2009, Daniel Berger escribi=F3:
> On Feb 23, 12:30=A0pm, I=F1aki Baz Castillo <i...@aliax.net> wrote:
> > Hi, when including Enumerable module in a class, its instances get
> > the "replace" method in which I'm not interested. Why this method is
> > added?
>
> It isn't.
>
> Ruby 1.8.6 p114
>
> class Foo
> include Enumerable
> end
>
> Foo.instance_methods.include?('replace') =3D> false
Sorry, my fault. Thanks a lot.
=2D-=20
I=F1aki Baz Castillo