Module: Enumerable

Defined in:
lib/choose.rb

Instance Method Summary collapse

Instance Method Details

#choose(limit = nil, generator = nil) ⇒ Object



64
65
66
# File 'lib/choose.rb', line 64

def choose ( limit=nil, generator=nil )
  to_a.choose(limit, generator)
end