Better code readability
This commit is contained in:
parent
c1ae7ec15b
commit
40a8d2f3b5
@ -6,7 +6,7 @@ class ConnectionSpecification #:nodoc:
|
||||
attr_reader :config, :adapter_method, :id
|
||||
|
||||
def initialize(id, config, adapter_method)
|
||||
@config, @adapter_method, @id = config, adapter_method, id
|
||||
@id, @config, @adapter_method = id, config, adapter_method
|
||||
end
|
||||
|
||||
def initialize_dup(original)
|
||||
|
@ -91,9 +91,7 @@ def connection
|
||||
retrieve_connection
|
||||
end
|
||||
|
||||
def specification_id=(value)
|
||||
@specification_id = value
|
||||
end
|
||||
attr_writer :specification_id
|
||||
|
||||
# Return the specification id from this class otherwise look it up
|
||||
# in the parent.
|
||||
|
Loading…
Reference in New Issue
Block a user