Method: ComplianceEngine::Collection#to_h
- Defined in:
- lib/compliance_engine/collection.rb
#to_h ⇒ Hash
Converts the object to a hash representation
38 39 40 |
# File 'lib/compliance_engine/collection.rb', line 38 def to_h collection.reject { |k, _| k.is_a?(Symbol) } end |