[331] | 1 | mruby-dir
|
---|
| 2 | =========
|
---|
| 3 |
|
---|
| 4 | Dir class for mruby. Supported methods are:
|
---|
| 5 |
|
---|
| 6 | `.chdir`
|
---|
| 7 | `.delete`
|
---|
| 8 | `.entries`
|
---|
| 9 | `.exist?`
|
---|
| 10 | `.foreach`
|
---|
| 11 | `.getwd`
|
---|
| 12 | `.mkdir`
|
---|
| 13 | `.open`
|
---|
| 14 | `#close`
|
---|
| 15 | `#each`
|
---|
| 16 | `#read`
|
---|
| 17 | `#rewind`
|
---|
| 18 | `#seek`
|
---|
| 19 | `#tell`
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | ## License
|
---|
| 23 |
|
---|
| 24 | Copyright (c) 2012 Internet Initiative Japan Inc.
|
---|
| 25 |
|
---|
| 26 | Permission is hereby granted, free of charge, to any person obtaining a
|
---|
| 27 | copy of this software and associated documentation files (the "Software"),
|
---|
| 28 | to deal in the Software without restriction, including without limitation
|
---|
| 29 | the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
---|
| 30 | and/or sell copies of the Software, and to permit persons to whom the
|
---|
| 31 | Software is furnished to do so, subject to the following conditions:
|
---|
| 32 |
|
---|
| 33 | The above copyright notice and this permission notice shall be included in
|
---|
| 34 | all copies or substantial portions of the Software.
|
---|
| 35 |
|
---|
| 36 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
| 37 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
| 38 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
| 39 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
---|
| 40 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
---|
| 41 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
---|
| 42 | DEALINGS IN THE SOFTWARE.
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 | - On Windows platforms, you must agree on addional license too:
|
---|
| 46 |
|
---|
| 47 | Copyright Kevlin Henney, 1997, 2003, 2012. All rights reserved.
|
---|
| 48 |
|
---|
| 49 | Permission to use, copy, modify, and distribute this software and its
|
---|
| 50 | documentation for any purpose is hereby granted without fee, provided
|
---|
| 51 | that this copyright and permissions notice appear in all copies and
|
---|
| 52 | derivatives.
|
---|
| 53 |
|
---|
| 54 | This software is supplied "as is" without express or implied warranty.
|
---|
| 55 |
|
---|
| 56 | But that said, if there are any problems please get in touch.
|
---|