NAME
DDG::Block::Blockable - Role for plugins that can go into a block
VERSION
version 1009
DESCRIPTION
This role is for plugins that can go into a plugin. The required functions are given via DDG::Meta::Block, but can also be made in an own implementation.
The class using this role require get_triggers, has_triggers, triggers_block_type and triggers.
Please lookup in DDG::Meta::Block how you have to set them if you want to make your own implementation.
ATTRIBUTES
block
Every blockable plugin requires a block as attribute on creation.
AUTHOR
DuckDuckGo <open@duckduckgo.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004