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