rabl icon indicating copy to clipboard operation
rabl copied to clipboard

[Question] Is there any way to out put rendered template to stream ?

Open yanzou opened this issue 10 years ago • 0 comments

Hi there, I am try to something like this

data = get_some_collection #get [{obj1}, {obj2}.....]
rendered_data = rabl.render_to_stream(data, rabl_template) #render via rabl template file and get result as stream/object
#do stuff

is there any way/possibility to do that ?

yanzou avatar Feb 05 '15 10:02 yanzou