Python's method decorators for Ruby