Sha256: 80ac2654bf1a872e99fe58b468a75fac47201412969a410b7264dbbcdd6d2d74
Contents?: true
Size: 617 Bytes
Versions: 3
Compression:
Stored size: 617 Bytes
Contents
require "minuteman/bit_operations" class Minuteman module BitOperations # Public: The conversion of an array to an operable class # # redis - The Redis connection # key - The key where the result it's stored # data - The original data of the intersection # class Data < Struct.new(:redis, :key, :data) include BitOperations include Enumerable def to_ary data end def size data.size end def each(&block) data.each(&block) end def ==(other) other == data end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
minuteman-1.0.0.pre | lib/minuteman/bit_operations/data.rb |
minuteman-0.2.0 | lib/minuteman/bit_operations/data.rb |
minuteman-0.2.0.pre | lib/minuteman/bit_operations/data.rb |