diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-04 09:16:23 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-04 09:16:23 -0700 |
commit | 0cd5fa9671592a16ee34f0718704b15f27911620 (patch) | |
tree | 2808c92adf0ed2b65d42043866d5cee717aa95ac /lib/arel/nodes.rb | |
parent | ba5effdc59f27bcd71f51a514a5496448bfad52c (diff) | |
download | rails-0cd5fa9671592a16ee34f0718704b15f27911620.tar.gz rails-0cd5fa9671592a16ee34f0718704b15f27911620.tar.bz2 rails-0cd5fa9671592a16ee34f0718704b15f27911620.zip |
💣
`nil?` not `nil`
Diffstat (limited to 'lib/arel/nodes.rb')
-rw-r--r-- | lib/arel/nodes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes.rb b/lib/arel/nodes.rb index e8de637323..7d900fe710 100644 --- a/lib/arel/nodes.rb +++ b/lib/arel/nodes.rb @@ -77,7 +77,7 @@ module Arel class Quoted < Arel::Nodes::Unary # :nodoc: alias :val :value - def nil; val.nil?; end + def nil?; val.nil?; end end def self.build_quoted other, attribute = nil |