-
Notifications
You must be signed in to change notification settings - Fork 0
A DataMapper plugin that allows you to assign multiple hook methods easily
buntine/dm-multi-hooks
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
================================= dm-multi-hooks 0.0.1 ================================= By Andrew Buntine A plugin for DataMapper that allows you to add single/multiple hooks to single/multiple methods in a convenient way. For example: before [ :create, :destroy ], [ :do_something, :and_another_thing ] is equivelant to: before :create, :do_something before :create, :and_another_thing before :destroy, :do_something before :destroy, :and_another_thing ...And: after :create, [ :set_name, :set_encoding, :increment_cache ] is_equivelant to: after :create, :set_name after :create, :set_encoding after :create, :increment_cache
About
A DataMapper plugin that allows you to assign multiple hook methods easily
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published