1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

factory method for creating ON nodes

This commit is contained in:
Aaron Patterson 2010-12-10 14:45:38 -08:00
parent 2d320e366a
commit 99ae19edd3

View file

@ -13,5 +13,9 @@ module Arel
def create_and clauses
Nodes::And.new clauses
end
def create_on expr
Nodes::On.new expr
end
end
end