12
13
14
15
16
17
18
19
20
|
# File 'lib/bootic_cli/themes/theme_diff.rb', line 12
def summary
msg = []
msg.push(" - Updated in source: #{updated_in_source.count}") if updated_in_source.any?
msg.push(" - Updated in target: #{updated_in_target.count}") if updated_in_target.any?
msg.push(" - Missing in target: #{missing_in_target.count}") if missing_in_target.any?
msg.push(" - Missing in source: #{missing_in_source.count}") if missing_in_source.any?
msg.unshift("Summary:") if msg.any?
msg.join("\n")
end
|