From c308de87fa7a48d980b96c01d43045f17ee487ad Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 29 Sep 2010 14:32:52 -0700 Subject: adding better dot file support for our nodes --- lib/arel/nodes/does_not_match.rb | 2 +- lib/arel/nodes/matches.rb | 2 +- lib/arel/nodes/not_in.rb | 2 +- lib/arel/nodes/unqualified_column.rb | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/arel/nodes') diff --git a/lib/arel/nodes/does_not_match.rb b/lib/arel/nodes/does_not_match.rb index b5693df711..33bdeab005 100644 --- a/lib/arel/nodes/does_not_match.rb +++ b/lib/arel/nodes/does_not_match.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class DoesNotMatch < Binary + class DoesNotMatch < Arel::Nodes::Binary end end end diff --git a/lib/arel/nodes/matches.rb b/lib/arel/nodes/matches.rb index 4b9fd34ad1..5ef8ac8302 100644 --- a/lib/arel/nodes/matches.rb +++ b/lib/arel/nodes/matches.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class Matches < Binary + class Matches < Arel::Nodes::Binary end end end diff --git a/lib/arel/nodes/not_in.rb b/lib/arel/nodes/not_in.rb index 6cb2c6f832..6c01921a46 100644 --- a/lib/arel/nodes/not_in.rb +++ b/lib/arel/nodes/not_in.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class NotIn < Binary + class NotIn < Arel::Nodes::Binary end end end diff --git a/lib/arel/nodes/unqualified_column.rb b/lib/arel/nodes/unqualified_column.rb index 31561fddd4..9882cb08e2 100644 --- a/lib/arel/nodes/unqualified_column.rb +++ b/lib/arel/nodes/unqualified_column.rb @@ -1,6 +1,8 @@ module Arel module Nodes class UnqualifiedColumn + attr_accessor :attribute + def initialize attribute @attribute = attribute end -- cgit v1.2.3