class Tarantool::Request::ModuloShardProc
Public Instance Methods
call(shard_values, shards_count, this)
click to toggle source
# File lib/tarantool/shards_support.rb, line 53 def call(shard_values, shards_count, this) shard_values[0] && shard_values[0] % shards_count end