Returns a new hash without the selected keys:
{ :one => 1, :two => 2, :three => 3 }.except(:one) #=> { :two => 2, :three => 3 }
# File merb/core_ext/hash.rb, line 126 def except(*rejected) reject { |k,v| rejected.include?(k) } end
<code/>
<pre/>
<code/>and<pre/>for code samples.