Sha256: 9394fca1aac4cff41e2c7b8233d010bd78ae854ec510883c1f91754b152a63f8
Contents?: true
Size: 1.88 KB
Versions: 12
Compression:
Stored size: 1.88 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:initialize:@docstringIC:YARD::Docstring"�Creates a new Enumerable::Enumerator object, which is to be used as an Enumerable object using the given object's given method with the given arguments. Use of this method is discouraged. Use Kernel#enum_for() instead. :@objectu:YARD::StubProxy&Enumerable::Enumerator#initialize: @summary0: @all"Creates a new Enumerable::Enumerator object, which is to be used as an Enumerable object using the given object's given method with the given arguments. Use of this method is discouraged. Use Kernel#enum_for() instead. @overload Enumerable::Enumerator.new(obj, method = :each, *args):@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u;&Enumerable::Enumerator#initialize;:Enumerable::Enumerator.new;IC; " ; u;&Enumerable::Enumerator#initialize;0; ";[;[:@types0:@parameters[[:obj0[:method" :each[: *args0: @text0:@signature";Enumerable::Enumerator.new(obj, method = :each, *args):@tag_name" overload:@current_file_has_commentsF:@scope: instance;[:@docstring_extra0:@files[["enumerator.c0:@namespaceu;Enumerable::Enumerator: @path"&Enumerable::Enumerator#initialize;[:@visibility:public:@source"�/* * call-seq: * Enumerable::Enumerator.new(obj, method = :each, *args) * * Creates a new Enumerable::Enumerator object, which is to be * used as an Enumerable object using the given object's given * method with the given arguments. * * Use of this method is discouraged. Use Kernel#enum_for() instead. */ static VALUE enumerator_initialize(argc, argv, obj) int argc; VALUE *argv; VALUE obj; { VALUE recv, meth = sym_each; if (argc == 0) rb_raise(rb_eArgError, "wrong number of argument (0 for 1)"); recv = *argv++; if (--argc) { meth = *argv++; --argc; } return enumerator_init(obj, recv, meth, argc, argv); }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems