Top Level Namespace
Defined Under Namespace
Modules: MotionPrime, Prime Classes: ApiClient, Kernel, MPButton, MPCollectionCellWithSection, MPLabel, MPSearchBarCustom, MPSpinner, MPTableCellWithSection, MPTableHeaderWithSectionView, MPTableView, MPTableViewCellContentView, MPTextField, MPTextView, MPViewController, MPViewWithSection, NSFNanoBag, NSFNanoStore, NilClass, TableDataIndexes, Time, UIView
Instance Method Summary collapse
Instance Method Details
#diff(other) ⇒ Object
1 2 3 4 5 |
# File 'motion-prime/core_ext/hash.rb', line 1 def diff(other) dup. delete_if { |k, v| other[k] == v }. merge!(other.dup.delete_if { |k, v| has_key?(k) }) end |