Enkaidu::Session::Macros
Instance methods
find_and_prepare_macro(macro_call)
Invoking a macro supports positional and named parameter substitution. For a found macro,
each query is prepared for use by looking for %{number} or %{word} patterns, where
number patterns are replaced with positional arguments (0 is the macro name) and
word patterns are replaced with named arguments. If any are not found, the macro call is
aborted and a warning with the missing parameter is issued.
find_macro_by_name?(name) : Config::Macro | Nil
Locate a macro by name, prioritizing config macros with the same name over profile ones.
list_all_macros
Sourcemacro_description(name) : String | Nil
Sourcemacro_names
Source