public Method

Set.size

Returns the number of elements.

Source Code

# File set.rb, line 82
def size
  @hash.size
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.