Method: Inspec::Input#diagnostic_string

Defined in:
lib/inspec/objects/input.rb

#diagnostic_stringObject



186
187
188
189
# File 'lib/inspec/objects/input.rb', line 186

def diagnostic_string
  "Input #{name}, with history:\n" +
    events.map(&:diagnostic_string).map { |line| "  #{line}" }.join("\n")
end