ok
Direktori : /opt/alt/ruby18/share/ri/1.8/system/Iconv/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Iconv/new-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates new code converter from a coding-system designated with <tt>from</tt> to another one designated with <tt>to</tt>. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+to+:" body: encoding name for destination - !ruby/struct:SM::Flow::LI label: "+from+:" body: encoding name for source type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Exceptions - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "TypeError:" body: if <tt>to</tt> or <tt>from</tt> aren't String - !ruby/struct:SM::Flow::LI label: "InvalidEncoding:" body: if designated converter couldn't find out - !ruby/struct:SM::Flow::LI label: "SystemCallError:" body: if <tt>iconv_open(3)</tt> fails type: :NOTE full_name: Iconv::new is_singleton: true name: new params: " Iconv.new(to, from)\n" visibility: public