lib/active_object/hash.rb in active_object-2.2.4 vs lib/active_object/hash.rb in active_object-2.2.5

- old
+ new

@@ -43,20 +43,16 @@ end self end end - unless defined?(Rails) - def except(*keys) - dup.except!(*keys) - end + def except(*keys) + dup.except!(*keys) end - unless defined?(Rails) - def except!(*keys) - keys.flatten.each { |k| delete(k) } - self - end + def except!(*keys) + keys.flatten.each { |k| delete(k) } + self end def nillify dup.nillify! end \ No newline at end of file