-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The replacements argument to the prompt! method updates the model with the new values. This occur before the method prompts for any missing keys within its template.
It should not however be a positional argument as it's inconsistent with the other class methods. Instead, replacements should be a keyword argument.
The method needs refactoring in general, possible to behave more like flight-metal version. However it current works in general.
| def self.prompt!(replacements=nil, *a, all: false) |