Sha256: 00758da3f2682ebf7011fd60b551a4723b6164b5d6f1dc85ed4fab710d52b82e
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name: iconv:@docstringIC:YARD::Docstring"Shorthand for Iconv.open(to, from) { |cd| (strs + [nil]).collect { |s| cd.iconv(s) } } === Parameters <tt>to, from</tt>:: see Iconv.new <tt>strs</tt>:: strings to be converted === Exceptions Exceptions thrown by Iconv.new, Iconv.open and Iconv#iconv. :@objectu:YARD::StubProxyIconv.iconv: @summary0: @tags[o:YARD::Tags::OverloadTag ; u;Iconv.iconv;;;IC; " ; u;Iconv.iconv;0; [: @all":@ref_tags[:@tag_name" overload:@parameters[[:to0[: from0[: *strs0:@types0:@signature"iconv(to, from, *strs): @text0;")Shorthand for Iconv.open(to, from) { |cd| (strs + [nil]).collect { |s| cd.iconv(s) } } === Parameters <tt>to, from</tt>:: see Iconv.new <tt>strs</tt>:: strings to be converted === Exceptions Exceptions thrown by Iconv.new, Iconv.open and Iconv#iconv. @overload iconv(to, from, *strs);[:@docstring_extra0:@visibility:public:@files[["ext/iconv/iconv.c0; [;[: @path"Iconv.iconv:@source_type:c:@source"�/* * Document-method: Iconv::iconv * call-seq: Iconv.iconv(to, from, *strs) * * Shorthand for * Iconv.open(to, from) { |cd| * (strs + [nil]).collect { |s| cd.iconv(s) } * } * * === Parameters * * <tt>to, from</tt>:: see Iconv.new * <tt>strs</tt>:: strings to be converted * * === Exceptions * * Exceptions thrown by Iconv.new, Iconv.open and Iconv#iconv. */ static VALUE iconv_s_iconv (argc, argv, self) int argc; VALUE *argv; VALUE self; { struct iconv_env_t arg; if (argc < 2) /* needs `to' and `from' arguments at least */ rb_raise(rb_eArgError, "wrong number of arguments (%d for %d)", argc, 2); arg.argc = argc -= 2; arg.argv = argv + 2; arg.append = rb_ary_push; arg.ret = rb_ary_new2(argc); arg.cd = iconv_create(argv[0], argv[1]); return rb_ensure(iconv_s_convert, (VALUE)&arg, iconv_free, ICONV2VALUE(arg.cd)); }:@namespaceu; Iconv:@scope: class:@current_file_has_commentsF
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pry-0.6.9pre1-i386-mingw32 | lib/pry/stdlib_docs18/objects/Iconv/iconv_c.dat |