Sha256: 0c2aabb16f3373f056c9bfe866c2af32b03062a259411db7a4423344985e2676

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 KB

Contents

o:$YARD::CodeObjects::MethodObject:@scope:
instance:@visibility:public:
@pathI"Encoding#replicate:EF:@parameters[:@files[[I"encoding.c;T0:@current_file_has_commentsF:
@name:replicate:@source_type:c:
@tags[:@docstringIC:YARD::Docstring"·Returns a replicated encoding of _enc_ whose name is _name_.
The new encoding should have the same byte structure of _enc_.
If _name_ is used by another encoding, raise ArgumentError.;F:@objectIu:YARD::StubProxyEncoding#replicate;F:
@summary0:@ref_tags[;[o:YARD::Tags::OverloadTag
:@tag_nameI"
overload;F:
@text0;;:@types0:@signatureI"replicate(name);F;IC;";F;Iu;Encoding#replicate;F;0;[;[o:YARD::Tags::Tag
;I"return;F;I";F;0;[I"
Encoding;F;0:	@allI"@return [Encoding];F;[[:	name0;Iu;Encoding#replicate;F; I"éReturns a replicated encoding of _enc_ whose name is _name_.
The new encoding should have the same byte structure of _enc_.
If _name_ is used by another encoding, raise ArgumentError.



@overload replicate(name)
  @return [Encoding];F:@namespaceIu;
Encoding;F:@docstring_extra0:@sourceI"¶/*
 * call-seq:
 *   enc.replicate(name) -> encoding
 *
 * Returns a replicated encoding of _enc_ whose name is _name_.
 * The new encoding should have the same byte structure of _enc_.
 * If _name_ is used by another encoding, raise ArgumentError.
 *
 */
static VALUE
enc_replicate(VALUE encoding, VALUE name)
{
    return rb_enc_from_encoding_index(
    rb_enc_replicate(StringValueCStr(name),
             rb_to_encoding(encoding)));
};F

Version data entries

12 entries across 12 versions & 2 rubygems

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