Method: Inspec::Control#to_hash
- Defined in:
- lib/inspec/objects/control.rb
#to_hash ⇒ Object
14 15 16 |
# File 'lib/inspec/objects/control.rb', line 14 def to_hash { id: id, title: title, desc: desc, impact: impact, tests: tests.map(&:to_hash) } end |