Class: ActiveRecord::Turntable::Configuration::DSL::ClusterDSL::ShardSetting
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::Turntable::Configuration::DSL::ClusterDSL::ShardSetting
- Defined in:
- lib/active_record/turntable/configuration/dsl.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#range ⇒ Object
Returns the value of attribute range.
-
#slaves ⇒ Object
Returns the value of attribute slaves.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
62 63 64 |
# File 'lib/active_record/turntable/configuration/dsl.rb', line 62 def name @name end |
#range ⇒ Object
Returns the value of attribute range
62 63 64 |
# File 'lib/active_record/turntable/configuration/dsl.rb', line 62 def range @range end |
#slaves ⇒ Object
Returns the value of attribute slaves
62 63 64 |
# File 'lib/active_record/turntable/configuration/dsl.rb', line 62 def slaves @slaves end |