Sha256: f8285f1ead7f4309dcde0ed778494a0b596fd62b4b87d8fd88a0952092bbe10f

Contents?: true

Size: 1.1 KB

Versions: 12

Compression:

Stored size: 1.1 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:source:@docstringIC:YARD::Docstring"QReturns the original string of the pattern.

   /ab+c/ix.source   #=> "ab+c"
:@objectu:YARD::StubProxyRegexp#source:
@summary0:	@all"wReturns the original string of the pattern.

   /ab+c/ix.source   #=> "ab+c"


@overload source
  @return [String]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Regexp#source;;;IC;	"
;
u;Regexp#source;0;
"@return [String];[;[o:YARD::Tags::Tag
;
0;0:@types["String:
@text":@tag_name"return;0:@parameters[;0:@signature"source;"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["	re.c0:@namespaceu;Regexp:
@path"Regexp#source;[:@visibility:public:@source"Z/*
 *  call-seq:
 *     rxp.source   => str
 *  
 *  Returns the original string of the pattern.
 *     
 *     /ab+c/ix.source   #=> "ab+c"
 */

static VALUE
rb_reg_source(re)
    VALUE re;
{
    VALUE str;

    rb_reg_check(re);
    str = rb_str_new(RREGEXP(re)->str,RREGEXP(re)->len);
    if (OBJ_TAINTED(re)) OBJ_TAINT(str);
    return str;
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Regexp/source_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Regexp/source_i.dat