lib/learnosity/sdk/utils.rb in learnosity-sdk-0.1.0 vs lib/learnosity/sdk/utils.rb in learnosity-sdk-0.2.0
- old
+ new
@@ -1,4 +1,4 @@
# Emulate Hash#except from Rails
def hash_except(h, k)
- return h.reject { |kk,vv| kk == k }
+ h.reject { |kk,vv| kk == k }
end