Method: ComplianceEngine::Collection#to_h

Defined in:
lib/compliance_engine/collection.rb

#to_hHash

Converts the object to a hash representation

Returns:

  • (Hash)

    the hash representation of the object



38
39
40
# File 'lib/compliance_engine/collection.rb', line 38

def to_h
  collection.reject { |k, _| k.is_a?(Symbol) }
end