bcg / em-mongo

EventMachine MongoDB Driver (based off of RMongo)
http://github.com/bcg/em-mongo
141 stars 47 forks source link

Use defer_as instead of to_ for Deferrables. #30

Closed bcg closed 13 years ago

bcg commented 13 years ago

This branch replaces all uses of to_a in the Cursor class with defer_as_a. This should confuse people less. We will support to_a returning a Deferrable through an alias at least until 0.5.0.