Sha256: 234018f8869e448a69132cb23c80e8c52de92ea2f1bde36afc7e6c4033bbb5e1
Contents?: true
Size: 475 Bytes
Versions: 4
Compression:
Stored size: 475 Bytes
Contents
require 'rubygems' require 'ffi_yajl/encoder' require 'ffi_yajl/parser' unless RUBY_VERSION.to_f >= 1.9 # segfaults on ruby 1.8 and this is an exceedingly low priority to fix, use ffi instead raise NotImplementedError, "The C-extension is disabled on Ruby 1.8" end module FFI_Yajl class Parser require 'ffi_yajl/ext/parser' include FFI_Yajl::Ext::Parser end class Encoder require 'ffi_yajl/ext/encoder' include FFI_Yajl::Ext::Encoder end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ffi-yajl-0.0.2-universal-java | lib/ffi_yajl/ext.rb |
ffi-yajl-0.0.2 | lib/ffi_yajl/ext.rb |
ffi-yajl-0.0.1-universal-java | lib/ffi_yajl/ext.rb |
ffi-yajl-0.0.1 | lib/ffi_yajl/ext.rb |