Sha256: 6e00e8e824774eeb12563b214bbdc04e7940b5d3e0918c3f4ab926b50fbc2fea
Contents?: true
Size: 599 Bytes
Versions: 7
Compression:
Stored size: 599 Bytes
Contents
module InspecTools class GenerateMap attr_accessor :text def initialize(text = nil) @text = text.nil? ? default_text : text end def generate_example(file) File.write(file, @text) end private def default_text <<~YML # Setting csv_header to true will skip the csv file header skip_csv_header: true width : 80 control.id: 0 control.title: 15 control.desc: 16 control.tags: severity: 1 rid: 8 stig_id: 3 cci: 2 check: 12 fix: 10 YML end end end
Version data entries
7 entries across 7 versions & 1 rubygems