Fix handling of ruby write parameters due to nil vs false
authorMark Slee <mcslee@apache.org>
Tue, 30 Oct 2007 16:55:47 +0000 (16:55 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 30 Oct 2007 16:55:47 +0000 (16:55 +0000)
commit3e098b1757724eb2e78a4abc1306a32abaf610b2
treea1a38406cc2393d8bcf023a4807a840904134b60
parent5e60901123f267ab6f1aa3c395560c965dbac724
Fix handling of ruby write parameters due to nil vs false

Summary: Need to check for != nil, not just boolean expression

Reviewed By: mcslee

Test Plan: Send a boolean "false" value

Other Notes: Patch submitted by Patrick Collison

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665310 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/lib/thrift/thrift.rb