lib/riak/crdt/inner_counter.rb in riak-client-2.0.0.rc1 vs lib/riak/crdt/inner_counter.rb in riak-client-2.0.0.rc2
- old
+ new
@@ -53,9 +53,16 @@
yield batcher
increment batcher.accumulator
end
+ def pretty_print(pp)
+ pp.object_group self do
+ pp.breakable
+ pp.pp value
+ end
+ end
+
# @api private
def self.update(increment)
Operation::Update.new.tap do |op|
op.value = increment
op.type = :counter