Sha256: be9dc54ecffb18449d68b8b0a6c69e08fa257d179424f4a6839a31bc4ec9524c
Contents?: true
Size: 698 Bytes
Versions: 20
Compression:
Stored size: 698 Bytes
Contents
module Lita module <%= config[:constant_namespace] %> class <%= config[:constant_name] %><% unless config[:plugin_type] == "extension" %> < <%= config[:plugin_type].capitalize %><% end %> end <%- if config[:plugin_type] == "adapter" -%> Lita.register_adapter(:<%= config[:name] %>, <%= config[:constant_name] %>) <%- elsif config[:plugin_type] == "handler" -%> Lita.register_handler(<%= config[:constant_name] %>) <%- 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, <%= config[:constant_name] %>) <%- end -%> end end
Version data entries
20 entries across 20 versions & 1 rubygems