Method: Inspec::OrTest#to_hash

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

#to_hashObject



19
20
21
# File 'lib/inspec/objects/or_test.rb', line 19

def to_hash
  { describe_one: @tests.map(&:to_hash) }
end