class SplitIoClient::Partition
acts as dto for a partition structure
def initialize(partition)
def initialize(partition) @data = partition end
def is_empty?
-
(boolean)- true if the partition is empty false otherwise
def is_empty? @data.empty? end
def size
-
(object)- the size value for this partition
def size @data[:size] end
def treatment
-
(object)- the treatment value for this partition
def treatment @data[:treatment] end