= private = protected
each(&block)
Calls the given block once for each element in the set, passing the element as parameter. Returns an enumerator if no block is given.
# File lib/set.rb, line 281 def each(&block) block or return enum_for(__method__) @hash.each_key(&block) self end