Replace more * in macro with #splat

This commit is contained in:
syeopite
2023-11-08 00:49:37 -08:00
parent 8ce91166d6
commit ed8b84ed15
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ struct ConfigPreferences
def to_tuple
{% begin %}
{
{{*@type.instance_vars.map { |var| "#{var.name}: #{var.name}".id }}}
{{(@type.instance_vars.map { |var| "#{var.name}: #{var.name}".id }).splat}}
}
{% end %}
end