Class: Driskell::Listen::Adapter::SimulatedDarwin
- Defined in:
- lib/driskell-listen/adapter/simulated_darwin.rb
Defined Under Namespace
Classes: FakeEvent
Constant Summary
Constants inherited from Linux
Linux::DEFAULTS, Linux::OS_REGEXP
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#configure, #initialize, #preempt_change, #start, #started?, #stop
Constructor Details
This class inherits a constructor from Driskell::Listen::Adapter::Base
Class Method Details
.usable? ⇒ Boolean
4 5 6 7 8 |
# File 'lib/driskell-listen/adapter/simulated_darwin.rb', line 4 def self.usable? os = RbConfig::CONFIG['target_os'] return false unless const_get('OS_REGEXP') =~ os /1|true/ =~ ENV['LISTEN_GEM_SIMULATE_FSEVENT'] end |