diff options
author | Kir Shatrov <shatrov@me.com> | 2017-04-30 22:19:09 -0400 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-05-01 08:21:58 -0400 |
commit | 5d6d14cb6be217abc04253da0fe49721d09e9575 (patch) | |
tree | b3ca61f5ff9a083f0b64611788554480d94d36dd /lib/arel/nodes/tuple.rb | |
parent | 437aa3a4bb8ad4f3f4eba299dbb1112852f9c7ac (diff) | |
download | rails-5d6d14cb6be217abc04253da0fe49721d09e9575.tar.gz rails-5d6d14cb6be217abc04253da0fe49721d09e9575.tar.bz2 rails-5d6d14cb6be217abc04253da0fe49721d09e9575.zip |
Support multiple inserts
Diffstat (limited to 'lib/arel/nodes/tuple.rb')
-rw-r--r-- | lib/arel/nodes/tuple.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/nodes/tuple.rb b/lib/arel/nodes/tuple.rb new file mode 100644 index 0000000000..4e088a79aa --- /dev/null +++ b/lib/arel/nodes/tuple.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true +module Arel + module Nodes + class Tuple < Node + attr_reader :values + + def initialize(values) + @values = values + super() + end + end + end +end |