Top Level Namespace

Defined Under Namespace

Modules: Learnosity

Instance Method Summary collapse

Instance Method Details

#hash_except(h, k) ⇒ Object

Emulate Hash#except from Rails



2
3
4
# File 'lib/learnosity/sdk/utils.rb', line 2

def hash_except(h, k)
    h.reject { |kk,vv| kk == k }
end