static public Method

Set.[](*ary)

Creates a new set containing the given objects.

Source Code

# File set.rb, line 55
def self.[](*ary)
  new(ary)
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.