Debian Codegraph @

vendor/mruby/mrbgems/mruby-pp/README.md

raw
1 # mruby-pp
2
3 `pp` for mruby. It is imported from CRuby.
4
5 ## Install
6
7 Add the following line to your `build_config.rb`:
8
9 config.gem :github => "kou/mruby-pp"
10
11 ## Usage
12
13 object = {
14 "key1" => ["value1", "value2"],
15 "key2" => ["value3", "value4"],
16 "key3" => ["value5", "value6"],
17 }
18 pp object
19 # => {"key1"=>["value1", "value2"],
20 # "key2"=>["value3", "value4"],
21 # "key3"=>["value5", "value6"]}
22
23 ## License
24
25 BSD 2-clause "Simplified" License
26
27 ## Authors
28
29 * Kouhei Sutou
30 * Tanaka Akira (the pp author in CRuby)