Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (35 sloc) 1.674 kB
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
1 = Psych
ec8ae73 @tenderlove initial commit
authored
2
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
3 * http://github.com/tenderlove/psych
ec8ae73 @tenderlove initial commit
authored
4
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
5 == Description
ec8ae73 @tenderlove initial commit
authored
6
dbf891f @tenderlove more docs
authored
7 Psych is a YAML parser and emitter. Psych leverages libyaml[http://libyaml.org]
8 for it's YAML parsing and emitting capabilities. In addition to wrapping
9 libyaml, Psych also knows how to serialize and de-serialize most Ruby objects
10 to and from the YAML format.
ec8ae73 @tenderlove initial commit
authored
11
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
12 == Examples
ec8ae73 @tenderlove initial commit
authored
13
dbf891f @tenderlove more docs
authored
14 # Load YAML in to a Ruby object
15 Psych.load('--- foo') # => 'foo'
16
17 # Emit YAML from a Ruby object
18 Psych.dump("foo") # => "--- foo\n...\n"
ec8ae73 @tenderlove initial commit
authored
19
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
20 == Dependencies
ec8ae73 @tenderlove initial commit
authored
21
ff397b1 @tenderlove updating readme
authored
22 * libyaml
ec8ae73 @tenderlove initial commit
authored
23
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
24 == Installation
ec8ae73 @tenderlove initial commit
authored
25
ff397b1 @tenderlove updating readme
authored
26 * sudo port install libyaml +universal
27 * sudo gem install psych
ec8ae73 @tenderlove initial commit
authored
28
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
29 == License
ec8ae73 @tenderlove initial commit
authored
30
3bb68b2 @jbarnette CHANGELOG and README cleanup for hoe-git.
jbarnette authored
31 Copyright 2009 Aaron Patterson, et al.
ec8ae73 @tenderlove initial commit
authored
32
33 Permission is hereby granted, free of charge, to any person obtaining
34 a copy of this software and associated documentation files (the
35 'Software'), to deal in the Software without restriction, including
36 without limitation the rights to use, copy, modify, merge, publish,
37 distribute, sublicense, and/or sell copies of the Software, and to
38 permit persons to whom the Software is furnished to do so, subject to
39 the following conditions:
40
41 The above copyright notice and this permission notice shall be
42 included in all copies or substantial portions of the Software.
43
44 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
45 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
46 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
47 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
48 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
49 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
50 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.