celluloid/celluloid — pull request #119 by ileitch (2012-11-17 23:52:22+00:00)
Title: Add finalizer :callback API.

Given a class that traps exits and implements a finalizer, the mix of API styles looks a little odd.

This PR adds a finalizer class method:

```@ruby
class Foo
include Celluloid
finalizer :my_finalizer

def my_finalizer
end
end
```

This also deprecates the old `finalize` method style.