lib/ehcache/cache.rb in jruby-ehcache-1.1.0 vs lib/ehcache/cache.rb in jruby-ehcache-1.1.1

- old
+ new

@@ -29,10 +29,11 @@ element = Ehcache::Element.create(args[0], args[1], options) else raise ArgumentError, "Must be Element object or key and value arguments" end - if options[:unless_exist] + if options[:unless_exist] || options[:unlessExist] || + options[:if_absent] ||options[:ifAbsent] put_if_absent(element) else ehcache_put(element) end end