Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'release-1.2'

  • Loading branch information...
commit 4ca8f88fdfa4fa80ed9dc173d0cbe38296e35b31 2 parents 547d3c6 + 590a881
@dkubb dkubb authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/dm-do-adapter/adapter.rb
View
6 lib/dm-do-adapter/adapter.rb
@@ -698,8 +698,8 @@ def comparison_statement(comparison, qualify)
#
# These semantics can be explained with the following ruby examples:
#
- # * not [].include?(1) # => true
- # * [].include?(1) # => false
+ # * ! [].include?(1) # => true
+ # * [].include?(1) # => false
#
# In two-valued logic the statement "does the value not match an
# empty set" is always true. Conversely the statement "does the
@@ -780,7 +780,7 @@ def quote_name(name)
#
# @api private
def empty_comparison?(value)
- not value.any? { true }
+ ! value.any? { true }
end
include SQL
Please sign in to comment.
Something went wrong with that request. Please try again.