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