提交 108561f1 编写于 作者: J Jonathon D. Jones

Adds link to Object.blank? from Object.present?

上级 3b7cf234
......@@ -13,7 +13,7 @@ def blank?
respond_to?(:empty?) ? empty? : !self
end
# An object is present if it's not blank.
# An object is present if it's not #blank?.
def present?
!blank?
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册