Parent

Listen::Adapters::Windows

Adapter implementation for Windows `wdm`.

Public Class Methods

adapter_gem() click to toggle source
# File lib/listen/adapters/windows.rb, line 18
def self.adapter_gem; 'wdm'; end
load_dependent_adapter() click to toggle source

Load the adapter gem

@return [Boolean] whether required or not

# File lib/listen/adapters/windows.rb, line 32
def self.load_dependent_adapter
  super
rescue Gem::LoadError
  Kernel.warn BUNDLER_DECLARE_GEM
end
target_os_regex() click to toggle source
# File lib/listen/adapters/windows.rb, line 17
def self.target_os_regex; /mswin|mingw/; end
usable?() click to toggle source

Checks if the adapter is usable on target OS.

@return [Boolean] whether usable or not

# File lib/listen/adapters/windows.rb, line 24
def self.usable?
  super if mri? && at_least_ruby_1_9?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.