diff options
-rw-r--r-- | ext/win32/lib/Win32API.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32/lib/Win32API.rb b/ext/win32/lib/Win32API.rb index d03ecc1c46..97b29fbf74 100644 --- a/ext/win32/lib/Win32API.rb +++ b/ext/win32/lib/Win32API.rb @@ -2,7 +2,7 @@ # frozen_string_literal: true # for backward compatibility -warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead" if $VERBOSE +warn "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead", uplevel: 2 require 'fiddle/import' |