Sha256: dec4a33762e5cb5bcc0cbd7bb7c5985c1b3d84f437c72e2cf7664c68b2afb8cf
Contents?: true
Size: 413 Bytes
Versions: 9
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true class Riddle::Client::Filter # private def append_integer_range(message, range) message.append_64bit_ints self.values.first, self.values.last end def append_array(message, array) message.append_64bit_ints *array.collect { |val| case val when TrueClass 1 when FalseClass 0 else val end } end end
Version data entries
9 entries across 9 versions & 1 rubygems