Project

General

Profile

« Previous | Next » 

Revision c9f2b790

Added by jeremyevans (Jeremy Evans) almost 6 years ago

Handle keyword argument separation for Enumerator#size

When Object#to_enum is passed a block, the block is called to get
a size with the arguments given to to_enum. This calls the block
with the same keyword flag as to_enum is called with.

This requires adding rb_check_funcall_kw and
rb_check_funcall_default_kw to handle keyword flags.