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

- old
+ new

@@ -14,9 +14,11 @@ alias tti= setTimeToIdle alias ttl= setTimeToLive alias expires_in getTimeToLive - def expires_in(seconds) + def expires_in=(seconds) setTimeToLive(seconds.to_i) end + alias expiresIn expires_in + alias expiresIn= expires_in= end