lib/wmi-lite/wmi.rb in wmi-lite-1.0.5 vs lib/wmi-lite/wmi.rb in wmi-lite-1.0.7

- old
+ new

@@ -14,12 +14,12 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # -require 'win32ole' if RUBY_PLATFORM =~ /mswin|mingw32|windows/ -require_relative 'wmi_instance' -require_relative 'wmi_exception' +require "win32ole" if RUBY_PLATFORM =~ /mswin|mingw32|mingw|windows/ +require_relative "wmi_instance" +require_relative "wmi_exception" module WmiLite class Wmi def initialize(namespace = nil) @namespace = namespace.nil? ? "root/cimv2" : namespace