Sha256: 8aaced6ecd221e310c0b2988b2052f368fc0ece978be38e4441fff2231c0821c
Contents?: true
Size: 1.74 KB
Versions: 12
Compression:
Stored size: 1.74 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:initialize:@docstringIC:YARD::Docstring"�Constructs a range using the given <i>start</i> and <i>end</i>. If the third parameter is omitted or is <code>false</code>, the <i>range</i> will include the end object; otherwise, it will be excluded. :@objectu:YARD::StubProxyRange#initialize: @summary0: @all"�Constructs a range using the given <i>start</i> and <i>end</i>. If the third parameter is omitted or is <code>false</code>, the <i>range</i> will include the end object; otherwise, it will be excluded. @overload new(start, end, exclusive=false):@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u;Range#initialize;:new;IC; " ; u;Range#initialize;0; ";[;[:@types0:@parameters[[: start0[:end0: @text0:@signature"%new(start, end, exclusive=false):@tag_name" overload:@current_file_has_commentsF:@scope: instance;[:@docstring_extra0:@files[["range.c0:@namespaceu; Range: @path"Range#initialize;[:@visibility:public:@source"�/* * call-seq: * Range.new(start, end, exclusive=false) => range * * Constructs a range using the given <i>start</i> and <i>end</i>. If the third * parameter is omitted or is <code>false</code>, the <i>range</i> will include * the end object; otherwise, it will be excluded. */ static VALUE range_initialize(argc, argv, range) int argc; VALUE *argv; VALUE range; { VALUE beg, end, flags; rb_scan_args(argc, argv, "21", &beg, &end, &flags); /* Ranges are immutable, so that they should be initialized only once. */ if (rb_ivar_defined(range, id_beg)) { rb_name_error(rb_intern("initialize"), "`initialize' called twice"); } range_init(range, beg, end, RTEST(flags)); return Qnil; }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems