Sha256: 754a5fd8e87bd730469d171d439d786824c9f61bae4fbd1e0ff2c215a723fca6
Contents?: true
Size: 505 Bytes
Versions: 33
Compression:
Stored size: 505 Bytes
Contents
module PowerStencil module Plugins module Templates SETUP_PLUGIN_TEMPLATES = :setup_plugin_templates def register_plugin_templates if plugin_module.respond_to? SETUP_PLUGIN_TEMPLATES logger.debug "Plugin '#{name}' declares to have template(s)." capabilities[:templates] = true plugin_module.send SETUP_PLUGIN_TEMPLATES else logger.debug "Plugin '#{name}' declares to have no template." end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems