Class: ActiveRecord::Turntable::ShardRegistry::ShardMap
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::Turntable::ShardRegistry::ShardMap
- Defined in:
- lib/active_record/turntable/shard_registry.rb
Instance Attribute Summary collapse
-
#range ⇒ Object
Returns the value of attribute range.
-
#shard ⇒ Object
Returns the value of attribute shard.
Instance Attribute Details
#range ⇒ Object
Returns the value of attribute range
3 4 5 |
# File 'lib/active_record/turntable/shard_registry.rb', line 3 def range @range end |
#shard ⇒ Object
Returns the value of attribute shard
3 4 5 |
# File 'lib/active_record/turntable/shard_registry.rb', line 3 def shard @shard end |