Top Level Namespace
Defined Under Namespace
Modules: FFI_Yajl
Classes: Array, Bignum, Date, DateTime, FalseClass, Fixnum, Float, Hash, Integer, NilClass, Object, String, StringIO, Symbol, Time, TrueClass
Constant Summary
collapse
[
"/opt/local/include", "/usr/local/include", RbConfig::CONFIG["includedir"], "/usr/include", ].freeze
- LIB_DIRS =
[
"/opt/local/lib", "/usr/local/lib", RbConfig::CONFIG["libdir"], "/usr/lib", ].freeze
Instance Method Summary
collapse
Instance Method Details
#clang? ⇒ Boolean
34
35
36
37
|
# File 'ext/ffi_yajl/ext/parser/extconf.rb', line 34
def clang?
cc_version = `#{RbConfig.expand("$(CC) --version")}`
cc_version.match?(/clang/i)
end
|
#macos? ⇒ Boolean
30
31
32
|
# File 'ext/ffi_yajl/ext/parser/extconf.rb', line 30
def macos?
!!(RUBY_PLATFORM =~ /darwin/)
end
|
#windows? ⇒ Boolean
26
27
28
|
# File 'ext/ffi_yajl/ext/parser/extconf.rb', line 26
def windows?
!!(RUBY_PLATFORM =~ /mswin|mingw|cygwin|windows/)
end
|