Florian Gross wrote:
> Perhaps it would also be a nice idea to add Enumerable#count,
> Kernel#with and Object.new with a template block?
>
> Samples:
>
> [1, 2, 3].count { |item| item > 1 } # => 2
> with("foo") { reverse } # "oof"
>
> obj = Object.new("foo") { def reverse() "bar" end }
> obj # => "foo"
> obj.reverse # => "bar"

Thanks for the suggestions. I'll have a look and give them a try in the
next release.

T.