JezK
Edit File: page-README_rdoc.ri
U:RDoc::TopLevel[ i I"README.rdoc:ETcRDoc::Parser::Simpleo:RDoc::Markup::Document:@parts[ S:RDoc::Markup::Heading: leveli: textI"Ascii85;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o:RDoc::Markup::Paragraph;[I"*http://rubyforge.org/projects/ascii85;T@ S; ; i;I"Description;T@ o;;[I"QAscii85 is a simple gem that provides methods for encoding/decoding Adobe's ;TI".binary-to-text encoding of the same name.;T@ o;;[I"MSee http://www.adobe.com/products/postscript/pdfs/PLRM.pdf page 131 and ;TI"Phttp://en.wikipedia.org/wiki/Ascii85 for more information about the format.;T@ S; ; i;I"Installation;T@ o; ;;;[o;;0;[o;;[I"sudo gem install Ascii85;T@ S; ; i;I" Usage;T@ o:RDoc::Markup::Verbatim;[ I"require 'rubygems' ;TI"require 'ascii85' ;TI" ;TI"Ascii85.encode("Ruby") ;TI"=> "<~;KZGo~>" ;TI" ;TI"!Ascii85.decode("<~;KZGo~>") ;TI"=> "Ruby" ;T:@format0o;;[I"PIn addition, Ascii85.encode can take a second parameter that specifies the ;TI"Plength of the returned lines. The default is 80; use +false+ for unlimited.;T@ o;;[ I"IAscii85.decode expects the input to be enclosed in <~ and ~> — it ;TI"Gignores everything outside of these. The output of Ascii85.decode ;TI"Kwill have the ASCII-8BIT encoding, so in Ruby 1.9 you may have to use ;TI"<<tt>String#force_encoding</tt> to correct the encoding.;T@ S; ; i;I"Command-line utility;T@ o;;[I"UThis gem includes +ascii85+, a command-line utility modeled after +base64+ from ;TI"Rthe GNU coreutils. It can be used to encode/decode Ascii85 directly from the ;TI"command-line:;T@ o;;[I"%Usage: ascii85 [OPTIONS] [FILE] ;TI"JEncodes or decodes FILE or STDIN using Ascii85 and writes to STDOUT. ;TI"e -w, --wrap COLUMN Wrap lines at COLUMN. Default is 80, use 0 for no wrapping ;TI"; -d, --decode Decode the input ;TI"E -h, --help Display this help and exit ;TI"E --version Output version information ;T;0S; ; i;I"License;T@ o;;[I"UAscii85 is distributed under the MIT License. See the accompanying LICENSE file ;TI"for details.;T: @file@:0@omit_headings_from_table_of_contents_below0