A library of utility services and concerns.
Utility for generating configured, user-readable output strings.
.instance => SleepingKingStudios::Tools::Base
#initialize(registry:, toolbelt: nil) => Messages
#registry => SleepingKingStudios::Tools::Messages::Registry (readonly)
#message(key, parameters: {}, scope: nil, **options) => Object
Generates a message from the given key, scope, and parameters.
Internally, finds a messages strategy matching the combined key and scope and calls that strategy. If a strategy is not found, instead returns a generic failure message.
#toolbelt => SleepingKingStudios::Tools::Toolbelt
Also known as:
tools
Back to Documentation | Reference | SleepingKingStudios | SleepingKingStudios::Tools