Class: ActiveRecord::ConnectionAdapters::PartitionDefinition
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::PartitionDefinition
- Defined in:
- lib/ridgepole/ext/abstract_adapter/partition_definition.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(name, values) ⇒ PartitionDefinition
constructor
A new instance of PartitionDefinition.
Constructor Details
#initialize(name, values) ⇒ PartitionDefinition
Returns a new instance of PartitionDefinition.
10 11 12 13 14 15 16 |
# File 'lib/ridgepole/ext/abstract_adapter/partition_definition.rb', line 10 def initialize( name, values ) @name = name @values = values end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/ridgepole/ext/abstract_adapter/partition_definition.rb', line 8 def name @name end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
8 9 10 |
# File 'lib/ridgepole/ext/abstract_adapter/partition_definition.rb', line 8 def values @values end |