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?
