Module: SlackRubyBot::Hooks::Base
Instance Method Summary collapse
Instance Method Details
#included(caller) ⇒ Object
4 5 6 7 |
# File 'lib/slack-ruby-bot/hooks/base.rb', line 4 def included(caller) caller.hooks ||= [] caller.hooks << name.demodulize.underscore.to_sym end |