Class: Aerospike::CDT::BitPolicy
- Inherits:
-
Object
- Object
- Aerospike::CDT::BitPolicy
- 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
-
#flags ⇒ Object
Returns the value of attribute flags.
Instance Method Summary collapse
-
#initialize(flags = BitWriteFlags::DEFAULT) ⇒ BitPolicy
constructor
A new instance of BitPolicy.
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
#flags ⇒ Object
Returns the value of attribute flags.
26 27 28 |
# File 'lib/aerospike/cdt/bit_policy.rb', line 26 def flags @flags end |