debian-mirror-gitlab/debian/gems-compat/arel-8.0.0/lib/arel/nodes/unqualified_column.rb

21 lines
331 B
Ruby

# frozen_string_literal: true
module Arel
module Nodes
class UnqualifiedColumn < Arel::Nodes::Unary
alias :attribute :expr
alias :attribute= :expr=
def relation
@expr.relation
end
def column
@expr.column
end
def name
@expr.name
end
end
end
end