lib/ulla/environment_feature_array.rb in ulla-0.9.6 vs lib/ulla/environment_feature_array.rb in ulla-0.9.7
- old
+ new
@@ -6,7 +6,15 @@
sum << ec.labels
}.inject { |pro, lb|
pro.product(lb)
}
end
+
+ def label_combinations_without_aa_type
+ self[1..-1].inject([]) { |sum, ec|
+ sum << ec.labels
+ }.inject { |pro, lb|
+ pro.product(lb)
+ }
+ end
end
end