Using Thrift from Ruby is rather trivial. There are several very relevant examples on Google. Wear a Java hat when thinking about Thrift.
On Jun 9, 2012, at 9:51 PM, Anand Hegde <[email protected]> wrote: > If I want to convert a file into thrfit format, I will give this in my > .thrift definition file > > struct my_file { > > 1: string file_name > 2: string file_contents > > } > > After this how do I convert a file into the thrift format in ruby? > > Is there a method that will do this for me?
