lib/has_price.rb in has_price-1.1.0 vs lib/has_price.rb in has_price-1.1.1

- old
+ new

@@ -1,12 +1,12 @@ require File.dirname(__FILE__) + "/has_price/core_extensions/array.rb" require File.dirname(__FILE__) + "/has_price/core_extensions/string.rb" -unless Array.instance_methods.include? "extract_options!" +unless ["extract_options!", :extract_options!].any?{|meth| Array.instance_methods.include?(meth)} Array.send :include, HasPrice::CoreExtensions::Array end -unless String.instance_methods.include? "underscore" +unless ["underscore", :underscore].any?{|meth| String.instance_methods.include?(meth)} String.send :include, HasPrice::CoreExtensions::String end require File.dirname(__FILE__) + "/has_price/price.rb" require File.dirname(__FILE__) + "/has_price/price_builder.rb" \ No newline at end of file