lib/ludy/array/product.rb in ludy-0.1.10 vs lib/ludy/array/product.rb in ludy-0.1.11
- old
+ new
@@ -1,6 +1,8 @@
-if RUBY_VERSION < '1.9.0'
+require 'ludy/version'
+
+if Ludy::ruby_before '1.9.0'
begin
require 'facets/enumerable/combos'
rescue LoadError
require 'ludy/array/combos'
end