public Method

Set.to_a

Converts the set to an array. The order of elements is uncertain.

Source Code

# File set.rb, line 113
def to_a
  @hash.keys
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.