Class: Minuteman::BitOperations::Result

Inherits:
Struct
  • Object
show all
Includes:
Minuteman::BitOperations
Defined in:
lib/minuteman/bit_operations/result.rb

Overview

Public: The result of intersecting results

redis   - The Redis connection
key     - The key where the result it's stored

Instance Attribute Summary collapse

Method Summary

Methods included from Minuteman::BitOperations

#&, #-, #-@, #^, #include?, #length, #reset, #|

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



10
11
12
# File 'lib/minuteman/bit_operations/result.rb', line 10

def key
  @key
end

#redisObject

Returns the value of attribute redis

Returns:

  • (Object)

    the current value of redis



10
11
12
# File 'lib/minuteman/bit_operations/result.rb', line 10

def redis
  @redis
end