Sha256: 4af0462feeb198a27ec54a1069b18109a9bb8bebbfd8d5d8f570b49a54d1178f

Contents?: true

Size: 1.31 KB

Versions: 12

Compression:

Stored size: 1.31 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	sub!:@docstringIC:YARD::Docstring"5Equivalent to <code>$_.sub!(<i>args</i>)</code>.
:@objectu:YARD::StubProxyKernel#sub!:
@summary0:	@all"žEquivalent to <code>$_.sub!(<i>args</i>)</code>.


@overload sub!(pattern, replacement)
  @return [nil]
@overload sub!(pattern)
  @yield [...]
  @return [nil]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Kernel#sub!;;;IC;	"
;
u;Kernel#sub!;0;
"@return [nil];[;[o:YARD::Tags::Tag
;
0;0:@types["nil:
@text":@tag_name"return;0:@parameters[[:pattern0[:replacement0;0:@signature"sub!(pattern, replacement);"
overloado;
;
u;Kernel#sub!;;;IC;	"
;
u;Kernel#sub!;0;
"@yield [...]
@return [nil];[;[o;
;
0;0;["...;";"
yieldo;
;
0;0;["nil;";"return;0;[[;0;0;"sub!(pattern);"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["
string.c0:@namespaceu;Kernel:
@path"Kernel#sub!;[:@visibility:public:@source"3/*
 *  call-seq:
 *     sub!(pattern, replacement)    => $_ or nil
 *     sub!(pattern) {|...| block }  => $_ or nil
 *  
 *  Equivalent to <code>$_.sub!(<i>args</i>)</code>.
 */

static VALUE
rb_f_sub_bang(argc, argv)
    int argc;
    VALUE *argv;
{
    return rb_str_sub_bang(argc, argv, uscore_get());
}:@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/Kernel/sub_21_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Kernel/sub_21_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Kernel/sub_21_i.dat