lib/gatherlogs/control_report.rb
# Format the desc text in the control
# Control snippet:
#    desc "This is a description from the control!"
Format the desc text in the control
Control snippet:
desc "This is a description from the control!"
Format the desc text in the control Control snippet : desc " This is a description from the control! "
def desc_text(control)
      return unless control.key?(:desc)
      text = control[:desc]
      return if text.nil? || text.empty?
      labeled_output DESC_ICON, "#{tabbed_text(text)}\n"
    end
def desc_text ( control ) return unless control . key? ( :desc ) text = control [ :desc ] return if text . nil? || text . empty? labeled_output DESC_ICON , "#{tabbed_text(text)}\n" end
Format the desc text in the control
Control snippet:
desc "This is a description from the control!"
Format the desc text in the control Control snippet : desc " This is a description from the control! "
control
<not_specific>