diff options
Diffstat (limited to 'lib/arel/relations/operations/alias.rb')
-rw-r--r-- | lib/arel/relations/operations/alias.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/arel/relations/operations/alias.rb b/lib/arel/relations/operations/alias.rb new file mode 100644 index 0000000000..d14a51f67a --- /dev/null +++ b/lib/arel/relations/operations/alias.rb @@ -0,0 +1,10 @@ +module Arel + class Alias < Compound + include Recursion::BaseCase + alias_method :==, :equal? + + def initialize(relation) + @relation = relation + end + end +end
\ No newline at end of file |