Class: Aerospike::CDT::BitPolicy

Inherits:
Object
  • Object
show all
Defined in:
lib/aerospike/cdt/bit_policy.rb

Overview

BitPolicy determines the Bit operation policy.

Constant Summary collapse

DEFAULT =
BitPolicy.new

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flags = BitWriteFlags::DEFAULT) ⇒ BitPolicy

Returns a new instance of BitPolicy.



28
29
30
# File 'lib/aerospike/cdt/bit_policy.rb', line 28

def initialize(flags = BitWriteFlags::DEFAULT)
  @flags = flags
end

Instance Attribute Details

#flagsObject

Returns the value of attribute flags.



26
27
28
# File 'lib/aerospike/cdt/bit_policy.rb', line 26

def flags
  @flags
end