class ArelExtensions::Nodes::UnionAll
Public Class Methods
new(left,right)
click to toggle source
Calls superclass method
# File lib/arel_extensions/nodes/union_all.rb, line 4 def initialize left,right return super(left,right) end
Public Instance Methods
as(other)
click to toggle source
# File lib/arel_extensions/nodes/union_all.rb, line 12 def as other Arel::Nodes::TableAlias.new Arel::Nodes::Grouping.new(self), Arel::Nodes::SqlLiteral.new(other.to_s) end
union_all(other)
click to toggle source
# File lib/arel_extensions/nodes/union_all.rb, line 8 def union_all(other) return ArelExtensions::Nodes::UnionAll.new(self,other) end