Skip to content

Commit

Permalink
Made combos an alias for choose
Browse files Browse the repository at this point in the history
Removed $0 == __FILE__ block at end of cartesian_product/mixin.rb
  • Loading branch information
duper authored and duper committed Mar 7, 2011
1 parent 9f3caf4 commit 64f9cf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/combinatorics/cartesian_product/mixin.rb
Expand Up @@ -19,6 +19,7 @@ module Mixin
# @example Three-way Cartesian product operation
#
# @see http://en.wikipedia.org/wiki/Cartesian_product
# @see http://en.wikipedia.org/wiki/Arity
def cartprod(enum2)
raise(ArgumentError, 'enum2 must be non-nil') if not enum2

Expand Down

0 comments on commit 64f9cf3

Please sign in to comment.