public Method

Set.empty?

Returns true if the set contains no elements.

Source Code

# File set.rb, line 88
def empty?
  @hash.empty?
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.