diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-17 15:46:51 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-17 15:46:51 -0300 |
commit | 94a8b12943bcdd0c6ac2b820f1300ccd80de87b2 (patch) | |
tree | aee75d102e2d8b35e58b99b06f048219cf6b4fbc /lib/arel/visitors/dot.rb | |
parent | 46f94aca3f648cf9a350cbe829f8d155d9af8739 (diff) | |
parent | 112617766915b0068027b4ac809dad8129c88e81 (diff) | |
download | rails-94a8b12943bcdd0c6ac2b820f1300ccd80de87b2.tar.gz rails-94a8b12943bcdd0c6ac2b820f1300ccd80de87b2.tar.bz2 rails-94a8b12943bcdd0c6ac2b820f1300ccd80de87b2.zip |
Merge pull request #137 from dimko/visit_set
Added a visitor for Set objects
Diffstat (limited to 'lib/arel/visitors/dot.rb')
-rw-r--r-- | lib/arel/visitors/dot.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/visitors/dot.rb b/lib/arel/visitors/dot.rb index f0cefeabd7..12cce1e266 100644 --- a/lib/arel/visitors/dot.rb +++ b/lib/arel/visitors/dot.rb @@ -216,6 +216,7 @@ module Arel edge(i) { visit x } end end + alias :visit_Set :visit_Array def visit_edge o, method edge(method) { visit o.send(method) } |