diff options
Diffstat (limited to 'lib/arel/nodes/with.rb')
-rw-r--r-- | lib/arel/nodes/with.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/arel/nodes/with.rb b/lib/arel/nodes/with.rb new file mode 100644 index 0000000000..ce1644b60e --- /dev/null +++ b/lib/arel/nodes/with.rb @@ -0,0 +1,17 @@ +module Arel + module Nodes + class With < Arel::Nodes::Unary + attr_reader :children + alias value children + alias expr children + + def initialize *children + @children = children + end + + end + + class WithRecursive < With; end + end +end + |