diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-10 11:47:03 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-10 11:47:03 -0700 |
commit | 9fdaf497cb346696ea538308b77ec07f051cd569 (patch) | |
tree | 9b9af29488f27ec631ddfc5a65ab1a1defaceb4d /lib/arel/attributes/attribute.rb | |
parent | 6032d40c1d1c7a7681f145c30b4c26386395ba45 (diff) | |
download | rails-9fdaf497cb346696ea538308b77ec07f051cd569.tar.gz rails-9fdaf497cb346696ea538308b77ec07f051cd569.tar.bz2 rails-9fdaf497cb346696ea538308b77ec07f051cd569.zip |
added a greater than node
Diffstat (limited to 'lib/arel/attributes/attribute.rb')
-rw-r--r-- | lib/arel/attributes/attribute.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/attributes/attribute.rb b/lib/arel/attributes/attribute.rb index 62bef5f1cf..d77574f33e 100644 --- a/lib/arel/attributes/attribute.rb +++ b/lib/arel/attributes/attribute.rb @@ -28,6 +28,10 @@ module Arel def gteq right Nodes::GreaterThanOrEqual.new self, right end + + def gt right + Nodes::GreaterThan.new self, right + end end class String < Attribute; end |