Sha256: d4923483cbb2a5d240b5b0e98e114915b408a3df6bfdf29c001c4ddd65f2c4c4
Contents?: true
Size: 694 Bytes
Versions: 7
Compression:
Stored size: 694 Bytes
Contents
module Lita module <%= config[:constant_namespace] %> class <%= config[:constant_name] %><% unless config[:plugin_type] == "extension" %> < <%= config[:plugin_type].capitalize %><% end %> # insert <%= config[:plugin_type] %> code here <%- if config[:plugin_type] == "adapter" -%> Lita.register_adapter(:<%= config[:name] %>, self) <%- elsif config[:plugin_type] == "handler" -%> Lita.register_handler(self) <%- else -%> # If your extension needs to register with a Lita hook, uncomment the # following line and change the hook name to the appropriate value: # Lita.register_hook(:hook_name, self) <%- end -%> end end end
Version data entries
7 entries across 7 versions & 1 rubygems