diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/unqualified_column.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/nodes/unqualified_column.rb b/lib/arel/nodes/unqualified_column.rb new file mode 100644 index 0000000000..b86b553074 --- /dev/null +++ b/lib/arel/nodes/unqualified_column.rb @@ -0,0 +1,13 @@ +module Arel + module Nodes + class UnqualifiedColumn + def initialize attribute + @attribute = attribute + end + + def name + @attribute.name + end + end + end +end |