Debian Codegraph @

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

raw
1 mruby-env
2 =========
3
4 mruby-env provides "ENV" object, which is a hash-like accessor
5 for environment variables.
6
7 - https://docs.ruby-lang.org/en/trunk/ENV.html (en)
8 - https://docs.ruby-lang.org/ja/latest/class/ENV.html (ja)
9
10 ### Methods
11
12 ```
13 [] []= clear delete fetch has_key? include? inspect key? keys
14 member? size store to_a to_hash to_s values
15 ```
16
17
18 ### To build:
19
20 Prerequisites:
21
22 * mruby
23 * libc
24
25 activate GEMs in *build_config.rb*
26 * conf.gem :github => 'iij/mruby-env'
27 ruby ./minirake
28
29 ### To run the tests:
30
31 ruby ./minirake test
32
33
34 ## License
35
36 Copyright (c) 2012 Internet Initiative Japan Inc.
37
38 Permission is hereby granted, free of charge, to any person obtaining a
39 copy of this software and associated documentation files (the "Software"),
40 to deal in the Software without restriction, including without limitation
41 the rights to use, copy, modify, merge, publish, distribute, sublicense,
42 and/or sell copies of the Software, and to permit persons to whom the
43 Software is furnished to do so, subject to the following conditions:
44
45 The above copyright notice and this permission notice shall be included in
46 all copies or substantial portions of the Software.
47
48 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
53 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
54 DEALINGS IN THE SOFTWARE.
55