NAME
App::SpreadRevolutionaryDate::MsgMaker - Role providing interface for crafting a message to be spread by App::SpreadRevolutionaryDate.
VERSION
version 0.34
DESCRIPTION
This role defines the interface for any class that makes a message to be spread by App::SpreadRevolutionaryDate.
Any class consuming this role is required to implement a compute
method, which is called with no parameters, and should return the message to be spread as a string.
This role provides a locale
required attribute (defaults to 'fr'
), which holds the language, defined in language code of ISO 639-1 alpha-2. Consuming classes are then free to use this locale
attribute to localize the message they compute.
SEE ALSO
- spread-revolutionary-date
- App::SpreadRevolutionaryDate
- App::SpreadRevolutionaryDate::Config
- App::SpreadRevolutionaryDate::BlueskyLite
- App::SpreadRevolutionaryDate::Target
- App::SpreadRevolutionaryDate::Target::Bluesky
- App::SpreadRevolutionaryDate::Target::Twitter
- App::SpreadRevolutionaryDate::Target::Mastodon
- App::SpreadRevolutionaryDate::Target::Freenode
- App::SpreadRevolutionaryDate::Target::Freenode::Bot
- App::SpreadRevolutionaryDate::Target::Liberachat
- App::SpreadRevolutionaryDate::Target::Liberachat::Bot
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Calendar
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::fr
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::en
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::it
- App::SpreadRevolutionaryDate::MsgMaker::RevolutionaryDate::Locale::es
- App::SpreadRevolutionaryDate::MsgMaker::PromptUser
AUTHOR
Gérald Sédrati <gibus@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019-2024 by Gérald Sédrati.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007