Method: Cinch::Plugin::ClassMethods#hooks

Defined in:
lib/cinch/plugin.rb

#hooksHash{:pre, :post => Array<Hook>} (readonly)

Returns All hooks.

Returns:

  • (Hash{:pre, :post => Array<Hook>})

    All hooks



29
30
31
# File 'lib/cinch/plugin.rb', line 29

def hooks
  @hooks
end