2 ms·
I believe it's in the Gem::Specification.traverse method here: http://ruby-doc.org/stdlib-1.9.3/libdoc/rubygems/rdoc/Gem/Specification.html#method-i-traverse h
by barrkel 12y ago
I believe it's in the Gem::Specification.traverse method here:
http://ruby-doc.org/stdlib-1.9.3/libdoc/rubygems/rdoc/Gem/Specification.html#method-i-traverse http://ruby-doc.org/stdlib-1.9.3/libdoc/rubygems/rdoc/Gem/Sp...
The 'trail' parameter, an array, was implicitly duplicated by applying the '+' operator on each recursion through a dependency.
- weavie 12y agotrail = trail + [self] That + operator looks so innocent, so seductively simple..