t6d / smart_properties

Ruby accessors on steroids
MIT License
177 stars 20 forks source link

Prevent unnecessary evaluation of default blocks #9

Closed t6d closed 9 years ago

t6d commented 9 years ago

Lambda statements provided to the default configuration option are no longer evaulated every time. Instead, they are only evaluated if no value for a particular property has been given.