Sha256: a8a74222302705fcaf77d6dd4a0d864c3086822d35497389ac24b665215c7dd9
Contents?: true
Size: 725 Bytes
Versions: 4
Compression:
Stored size: 725 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 1 rubygems