Files
Yukihiro "Matz" Matsumoto 3272955bf1 mruby-env: add ENV object for environment variable access
ENV is a plain Object with singleton methods and Enumerable,
matching CRuby's behavior. C methods wrap getenv/setenv/unsetenv
with platform support for POSIX, macOS, and Windows.

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-23 19:25:21 +09:00

19 lines
403 B
Plaintext

# It also works with MRB_NO_FLOAT.
MRuby::GemBox.new do |conf|
# Use standard IO/File class
conf.gem :core => "mruby-io"
# Use standard IO/File class
conf.gem :core => "mruby-socket"
# Use errno extension for a good mruby-io/mruby-socket experience
conf.gem :core => "mruby-errno"
# Use Dir class
conf.gem :core => "mruby-dir"
# Use ENV object
conf.gem :core => "mruby-env"
end