On Fri, Sep 17, 2010 at 13:32, Urabe Shyouhei <shyouhei / ruby-lang.org> wrote:
> a bit more complicated example.
>
> require "stringio"
> s = StringIO.new "foobar"
> e = s.enum_for :each_char
> s.seek 6
> e.last # => nil for your definition, but not sure if it should be?
>
> The point is, an Enumerable's last may not exist for various reasons.

I realize that, but e.first return nil here as well (in 1.8.7).