[#3479] Missing .document files for ext/ libraries — Brian Candler <B.Candler@...>

The ri documentation for zlib, strscan and iconv doesn't get built by 'make

12 messages 2004/10/06

[#3492] Re: ANN: Free-form-operators patch — Markus <markus@...>

> In message "Re: ANN: Free-form-operators patch"

15 messages 2004/10/11
[#3493] Re: ANN: Free-form-operators patch — Yukihiro Matsumoto <matz@...> 2004/10/11

Hi,

[#3495] Re: ANN: Free-form-operators patch — Markus <markus@...> 2004/10/12

On Mon, 2004-10-11 at 16:16, Yukihiro Matsumoto wrote:

[#3561] 1.8.2 - what can we do to help? — Dave Thomas <dave@...>

Folks:

23 messages 2004/10/26
[#3562] Re: 1.8.2 - what can we do to help? — Yukihiro Matsumoto <matz@...> 2004/10/27

Hi,

Re: ANN: Free-form-operators patch

From: "trans. (T. Onoma)" <transami@...>
Date: 2004-10-12 17:51:09 UTC
List: ruby-core #3512
On Tuesday 12 October 2004 01:10 am, Kent Sibilev wrote:
| $ irb -r enumerator
| irb(main):001:0> (1..10).enum_slice(2).each do |v1, v2|
| irb(main):002:1* puts "#{v1} #{v2}"
| irb(main):003:1> end
| 1 2
| 3 4
| 5 6
| 7 8
| 9 10
| => nil
| irb(main):004:0>

I appears that require 'enumerator' adds to Enumerable module. Is there any 
way to include the enumerator's functionality into my own version of the 
Enumerable module?

  module Enumerable2
    include ???Enumorator
    def select
      ...

I'm expirementing with variations on #each, but I can't overwrite the 
Enumerable module itself b/c test/unit fails if I do.

T.


In This Thread