++++++++++++++++++
* Added timed to expire feature to ``cached_property`` decorator.
-* Changed ``del monopoly.boardwalk`` to ``del monopoly['boardwalk'] in order to support the new TTL feature.
+* Changed ``del monopoly.boardwalk`` to ``del monopoly['boardwalk']`` in order to support the new TTL feature.
0.1.5 (2014-05-20)
++++++++++++++++++
.. image:: https://badge.fury.io/py/cached-property.png
:target: http://badge.fury.io/py/cached-property
-
+
.. image:: https://travis-ci.org/pydanny/cached-property.png?branch=master
:target: https://travis-ci.org/pydanny/cached-property
Sometimes you want the price of things to reset after a time.
.. code-block:: python
-
+
import random
from cached_property import cached_property
# I dare the reader to implement a game using this method of 'rolling dice'.
return random.randint(2,12)
+Now use it:
+
.. code-block:: python
>>> monopoly = Monopoly()