diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-07 14:24:20 -0500 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-07 16:38:18 -0500 |
commit | 5d260103d3f11897e7873fb3fa796966896ff946 (patch) | |
tree | 405786d255997ddf66c49e569bd7a08b9766d97d /lib/ffi_yajl/encoder.rb | |
parent | 199bcc2304bc032559ca0b9f82978b4ebb64fe41 (diff) | |
download | ffi-yajl-5d260103d3f11897e7873fb3fa796966896ff946.tar.gz |
fix for chef pretty printing issues
Diffstat (limited to 'lib/ffi_yajl/encoder.rb')
-rw-r--r-- | lib/ffi_yajl/encoder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/encoder.rb b/lib/ffi_yajl/encoder.rb index 8b5bfcb..bd3ff31 100644 --- a/lib/ffi_yajl/encoder.rb +++ b/lib/ffi_yajl/encoder.rb @@ -18,7 +18,7 @@ module FFI_Yajl end # call either the ext or ffi hook - str = do_yajl_encode(obj, yajl_gen_opts) + str = do_yajl_encode(obj, yajl_gen_opts, opts) str.force_encoding('UTF-8') if defined? Encoding str end |