Anand -

You need to check out the Thrift compiler. It has options for generating
types for many languages, Ruby included.

-Bryan

On Sat, Jun 9, 2012 at 8:55 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?
>

Reply via email to