Sha256: ff1494bfd87ea87569471ff7273d54e4024f81836d60a762b36b300ab9992a3e

Contents?: true

Size: 1.63 KB

Versions: 12

Compression:

Stored size: 1.63 KB

Contents

o:$YARD::CodeObjects::MethodObject:@scope:
class:@visibility:public:
@pathI"Encoding.name_list:EF:@parameters[:@files[[I"encoding.c;T0:@current_file_has_commentsF:
@name:name_list:@source_type:c:
@tags[:@docstringIC:YARD::Docstring"�Returns the list of available encoding names.

  Encoding.name_list
  #=> ["US-ASCII", "ASCII-8BIT", "UTF-8",
        "ISO-8859-1", "Shift_JIS", "EUC-JP",
        "Windows-31J",
        "BINARY", "CP932", "eucJP"];F:@objectIu:YARD::StubProxyEncoding.name_list;F:
@summary0:@ref_tags[;[o:YARD::Tags::OverloadTag
:@tag_nameI"
overload;F:
@text0;;:@types0:@signatureI"name_list;F;IC;";F;Iu;Encoding.name_list;F;0;[;[o:YARD::Tags::Tag
;I"return;F;I";F;0;[I"
Array;F;0:	@allI"@return [Array];F;[;Iu;Encoding.name_list;F; I"�Returns the list of available encoding names.

  Encoding.name_list
  #=> ["US-ASCII", "ASCII-8BIT", "UTF-8",
        "ISO-8859-1", "Shift_JIS", "EUC-JP",
        "Windows-31J",
        "BINARY", "CP932", "eucJP"]



@overload name_list
  @return [Array];F:@namespaceIu;
Encoding;F:@docstring_extra0:@sourceI"�/*
 * call-seq:
 *   Encoding.name_list -> ["enc1", "enc2", ...]
 *
 * Returns the list of available encoding names.
 *
 *   Encoding.name_list
 *   #=> ["US-ASCII", "ASCII-8BIT", "UTF-8",
 *         "ISO-8859-1", "Shift_JIS", "EUC-JP",
 *         "Windows-31J",
 *         "BINARY", "CP932", "eucJP"]
 *
 */

static VALUE
rb_enc_name_list(VALUE klass)
{
    VALUE ary = rb_ary_new2(enc_table.names->num_entries);
    st_foreach(enc_table.names, rb_enc_name_list_i, (st_data_t)ary);
    return ary;
};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/name_list_c.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_19/objects/Encoding/name_list_c.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_19/objects/Encoding/name_list_c.dat