spec/compact_protocol_spec.rb in thrift-0.9.0 vs spec/compact_protocol_spec.rb in thrift-0.9.1
- old
+ new
@@ -132,14 +132,12 @@
i32arg * 2
end
end
def writer(sym)
- sym = sym == :binary ? :string : sym
"write_#{sym.to_s}"
end
def reader(sym)
- sym = sym == :binary ? :string : sym
"read_#{sym.to_s}"
end
-end
\ No newline at end of file
+end