Class: Set
Overview
:nodoc:
Instance Method Summary collapse
-
#push(*v) ⇒ Object
A simple batch-add to Set.
Instance Method Details
#push(*v) ⇒ Object
A simple batch-add to Set. Bad API is bad. Thank god for open classes.
47 48 49 50 51 |
# File 'lib/dep_analyzer.rb', line 47 def push *v v.each do |o| add(o) end end |