Mongo.Collection.before_dump

You're seeing just the macro before_dump, go back to Mongo.Collection module for more information.
Link to this macro

before_dump(fun)

View Source (macro)

Defines the before_dump/1 function.