module SlackMathbot
|
|
module Hooks
|
|
module Base
|
|
def included(caller)
|
|
caller.hooks ||= []
|
|
caller.hooks << name.demodulize.underscore.to_sym
|
|
end
|
|
end
|
|
end
|
|
end
|