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 = _int32("bool")
            case val
            when 0
                false
            when 1
                true
            else
                raise ArgumentError, "Invalid value for bool: #{val}"
            end
        end
def bool ( ) val = _int32 ( "bool" ) case val when 0 false when 1 true else raise ArgumentError , "Invalid value for bool: #{val}" end end
A boolean value, encoded as a signed integer
A boolean value encoded as a signed integer