-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
executable file
·81 lines (58 loc) · 2.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Ruby 1.9 Changes
Copyright (c) 2009 John W Higgins
Rio Core
Copyright (c) 2005,2006,2007 Christopher Kleckner
All rights reserved
This file is part of the Rio library for ruby.
Rio is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Rio is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Rio; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
= Rio - Ruby I/O Facilitator
fa-cil-i-tate: To make easy or easier
Rio is a facade for most of the standard ruby classes that deal with
I/O; providing a simple, intuitive, succinct interface to the
functionality provided by IO, File, Dir, Pathname, FileUtils,
Tempfile, StringIO, OpenURI and others. Rio also provides an
application level interface which allows many common I/O idioms to be
expressed succinctly.
==== Building the documentation
To create the documentation for Rio run the command
ruby build_doc.rb
from the distribution directory.
Then point your browser at the 'doc/rdoc' directory.
The RDoc template file included with this distribution contains some
RDoc hacks that overcomes some of RDoc's weaknesses and makes the
documentation *much* more usable. It is inadvisable to build the RDoc
documentation without these.
===== Suggested Reading
* RIO::Doc::SYNOPSIS
* RIO::Doc::INTRO
* RIO::Doc::HOWTO
* RIO::Doc::EXAMPLES
* RIO::Rio
==== Installation
To install Rio from the distribution directory type
ruby setup.rb
Rio is also available as a gem. If you have rubygems installed use:
gem install rio
To use Rio as a rubygem:
require 'rubygems'
require 'rio'
To read the documentation without running rdoc, read the files:
* lib/rio/doc/SYNOPSIS.rb
* lib/rio/doc/INTRO.rb
* lib/rio/doc/HOWTO.rb
* lib/rio/if/*.rb
Project:: http://rubyforge.org/projects/rio/
Documentation:: http://rio.rubyforge.org/
Bugs:: http://rubyforge.org/tracker/?group_id=821
Blog:: http://rio4ruby.blogspot.com/
Email:: rio4ruby@rubyforge.org