class Listen::Adapter::Darwin
def self.usable?
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.usable?: () -> true
This signature was generated using 2 samples from 1 application.
def self.usable? version = RbConfig::CONFIG['target_os'][OS_REGEXP, :major_version] return false unless version return true if version.to_i >= 13 # darwin13 is OS X 10.9 require 'rb-fsevent' fsevent_version = Gem::Version.new(FSEvent::VERSION) return true if fsevent_version <= Gem::Version.new('0.9.4') Kernel.warn INCOMPATIBLE_GEM_VERSION false end