From 71db8169e866d304c60d95777a401ca201f21637 Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Tue, 20 Feb 2024 11:28:34 +0000 Subject: [PATCH] Auto corrected by following Format Ruby Code --- lib/synvert/command.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/synvert/command.rb b/lib/synvert/command.rb index 39d2367..0f348c8 100644 --- a/lib/synvert/command.rb +++ b/lib/synvert/command.rb @@ -79,7 +79,10 @@ def available_rewriters # Query and print available rewriters. def query_available_rewriters(query, format) if format == 'json' - puts available_rewriters.select { |rewriter| rewriter[:group].include?(query) || rewriter[:name].include?(query) }.to_json + puts available_rewriters.select { |rewriter| + rewriter[:group].include?(query) || rewriter[:name].include?(query) + } +.to_json else Core::Rewriter.availables.each do |group, rewriters| if group.include?(query)