Permalink
Browse files

Include Permute::Mixin into Set.

  • Loading branch information...
1 parent 89548cd commit d302d65ab62f2069a684142ed5355a8a5f414178 @postmodern committed Oct 15, 2011
@@ -1 +1,2 @@
require 'combinatorics/permute/extensions/array'
+require 'combinatorics/permute/extensions/set'
@@ -0,0 +1,9 @@
+require 'combinatorics/permute/mixin'
+
+require 'set'
+
+class Set
+
+ include Combinatorics::Permute::Mixin
+
+end
View
@@ -0,0 +1,10 @@
+require 'spec_helper'
+require 'permute/mixin_examples'
+
+require 'combinatorics/permute/extensions/set'
+
+describe Set do
+ subject { Set }
+
+ it_should_behave_like "Permute::Mixin"
+end

0 comments on commit d302d65

Please sign in to comment.