glqgamemaster/Gentle-Love-Quest — pull request #9 by gegerlan (2011-12-29 17:07:59+00:00)
Title: Made @stats and @custom_attr accessible as object variables.

Added handler that captures calls to missing methods, and sees if they were intended for one of the custom attribute added. If no attribute matches the call, the default error method_missing message will show.
Usage:
actor.fertility
=> 10
actor.fertility = 5
=> 5
actor.fertility += 10
=> 15
actor.fertility -= 5
=> 10