Class: ActiveRecord::Turntable::ShardRegistry::ShardMap

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_record/turntable/shard_registry.rb

Instance Attribute Summary collapse

Instance Attribute Details

#rangeObject

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



3
4
5
# File 'lib/active_record/turntable/shard_registry.rb', line 3

def range
  @range
end

#shardObject

Returns the value of attribute shard

Returns:

  • (Object)

    the current value of shard



3
4
5
# File 'lib/active_record/turntable/shard_registry.rb', line 3

def shard
  @shard
end