ok
Direktori : /opt/alt/ruby18/share/ri/1.8/system/Base64/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Base64/b64encode-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: <em>Prints</em> the Base64 encoded version of <tt>bin</tt> (a <tt>String</tt>) in lines of <tt>len</tt> (default 60) characters. - !ruby/struct:SM::Flow::VERB body: " require 'base64'\n data = "Now is the time for all good coders\\nto learn Ruby"\n Base64.b64encode(data)\n" - !ruby/struct:SM::Flow::P body: <em>Generates:</em> - !ruby/struct:SM::Flow::VERB body: " Tm93IGlzIHRoZSB0aW1lIGZvciBhbGwgZ29vZCBjb2RlcnMKdG8gbGVhcm4g\n UnVieQ==\n" full_name: Base64#b64encode is_singleton: false name: b64encode params: (bin, len = 60) visibility: public