Method: Thrift::Struct_Union#write_data
- Defined in:
- lib/thrift/struct_union.rb
#write_data(oprot, value, field) ⇒ Object
109 110 111 112 113 114 115 |
# File 'lib/thrift/struct_union.rb', line 109 def write_data(oprot, value, field) if is_container? field[:type] write_container(oprot, value, field) else oprot.write_type(field, value) end end |