lib/logstash/inputs/ganglia/xdr.rb
# A boolean value, encoded as a signed integer
A boolean value, encoded as a signed integer
A boolean value encoded as a signed integer
def bool(val)
            raise ArgumentError, "bool() requires a boolean argument" \
                unless val == true || val == false
            self.int32(val ? 1 : 0)
        end
def bool ( val ) raise ArgumentError , "bool() requires a boolean argument" unless val == true || val == false self . int32 ( val ? 1 : 0 ) end
A boolean value, encoded as a signed integer
A boolean value encoded as a signed integer
val
<not_specific>