Commit 657553c3 authored by Matt Wrock's avatar Matt Wrock
Browse files

fix uninitialized Win32 constant


Signed-off-by: default avatarMatt Wrock <matt@mattwrock.com>
parent 262d718d
......@@ -22,7 +22,9 @@ require_relative "../mixin/wide_string"
if RUBY_PLATFORM.match?(/mswin|mingw32|windows/)
require "win32/api"
Win32.autoload :Registry, File.expand_path("../monkey_patches/win32/registry", __dir__)
module Win32
autoload :Registry, File.expand_path("../monkey_patches/win32/registry", __dir__)
end
require_relative "api/registry"
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment