Sha256: 4714ccd5684c0cce4dca3e55ddafbfeec8b0070e7dec14344a35197927109469
Contents?: true
Size: 1.67 KB
Versions: 12
Compression:
Stored size: 1.67 KB
Contents
o:$YARD::CodeObjects::MethodObject:@scope: instance:@visibility:public: @pathI"Kernel#sub:EF:@parameters[:@files[[I"ruby.c;T0:@current_file_has_commentsF: @name:sub:@source_type:c: @tags[:@docstringIC:YARD::Docstring"�Equivalent to <code>$_.sub(<i>args</i>)</code>, except that <code>$_</code> will be updated if substitution occurs. Available only when -p/-n command line option specified.;F:@objectIu:YARD::StubProxyKernel#sub;F: @summary0:@ref_tags[;[o:YARD::Tags::OverloadTag :@tag_nameI" overload;F: @text0;;:@types0:@signatureI"sub(pattern, replacement);F;IC;";F;Iu;Kernel#sub;F;0;[;[: @allI";F;[[:pattern0[:replacement0;Iu;Kernel#sub;Fo; ;I" overload;F;0;;;0;I"sub(pattern);F;IC;";F;Iu;Kernel#sub;F;0;[;[o:YARD::Tags::Tag ;I" yield;F;I"[];F;0;0;0;I"@yield [];F;[[; 0;Iu;Kernel#sub;F;I"�Equivalent to <code>$_.sub(<i>args</i>)</code>, except that <code>$_</code> will be updated if substitution occurs. Available only when -p/-n command line option specified. @overload sub(pattern, replacement) @overload sub(pattern) @yield [];F:@namespaceIu;Kernel;F:@docstring_extra0:@sourceI"�/* * call-seq: * sub(pattern, replacement) -> $_ * sub(pattern) { block } -> $_ * * Equivalent to <code>$_.sub(<i>args</i>)</code>, except that * <code>$_</code> will be updated if substitution occurs. * Available only when -p/-n command line option specified. */ static VALUE rb_f_sub(argc, argv) int argc; VALUE *argv; { VALUE str = rb_funcall3(uscore_get(), rb_intern("sub"), argc, argv); rb_lastline_set(str); return str; };F
Version data entries
12 entries across 12 versions & 2 rubygems