提交 1da7fa87 编写于 作者: M Matthew Draper

Attributes are protected, not private, to avoid the warning

上级 0e7a5661
......@@ -51,9 +51,10 @@ def disconnect
server.connection_identifiers
end
private
protected
attr_reader :server
private
def set_identifier_instance_vars(ids)
raise InvalidIdentifiersError unless valid_identifiers?(ids)
ids.each { |k, v| instance_variable_set("@#{k}", v) }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册