Class: Symbol
Instance Method Summary collapse
Instance Method Details
#ffi_yajl(yajl_gen, state) ⇒ Object
208 209 210 211 212 213 |
# File 'ext/ffi_yajl/ext/encoder/encoder.c', line 208 def ffi_yajl(yajl_gen, state) str = self.to_s if ( status = FFI_Yajl.yajl_gen_string(yajl_gen, str, str.bytesize) ) != 0 FFI_Yajl::Encoder.raise_error_for_status(status) end end |