public Method

Set.each() { |o| ... }

Calls the given block once for each element in the set, passing the element as parameter.

Source Code

# File set.rb, line 188
def each
  @hash.each_key { |o| yield(o) }
  self
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.