Class: Set

Inherits:
Object show all
Defined in:
lib/dep_analyzer.rb

Overview

:nodoc:

Instance Method Summary collapse

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