Class: Arel::Nodes::CteName

Inherits:
Unary
  • Object
show all
Defined in:
lib/arel/cte_name.rb

Instance Method Summary collapse

Constructor Details

#initialize(expr) ⇒ CteName

Returns a new instance of CteName.



6
7
8
9
# File 'lib/arel/cte_name.rb', line 6

def initialize(expr)
  expr = SqlLiteral.new(expr)
  super expr
end