提交 52f64126 编写于 作者: R Rafael Mendonça França

Merge pull request #18362 from georgemillo/attribute

replacing 'attribute' method with an alias
......@@ -75,9 +75,8 @@ def _read_attribute(attr_name) # :nodoc:
private
def attribute(attribute_name)
_read_attribute(attribute_name)
end
alias :attribute :_read_attribute
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册