Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/ceml/models/incident_model.rb

Instance Method Summary collapse

Instance Method Details

#like(*syms) ⇒ Object



2
3
4
# File 'lib/ceml/models/incident_model.rb', line 2

def like(*syms)
  syms.inject({}) { |h, k| h[k] = self[k] if self[k]; h }
end