Module: FFI_Yajl::Platform

Defined in:
lib/ffi_yajl/platform.rb

Instance Method Summary collapse

Instance Method Details

#windows?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/ffi_yajl/platform.rb', line 25

def windows?
  !!(RUBY_PLATFORM =~ /mswin|mingw|cygwin|windows/)
end