mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
copy-edits 108561f
This commit is contained in:
@@ -13,7 +13,7 @@ class Object
|
||||
respond_to?(:empty?) ? empty? : !self
|
||||
end
|
||||
|
||||
# An object is present if it's not #blank?.
|
||||
# An object is present if it's not <tt>blank?</tt>.
|
||||
def present?
|
||||
!blank?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user