Permalink
Browse files

Only use bracket assignment, not bracket access

  • Loading branch information...
dhh committed Nov 27, 2011
1 parent ab7a4bc commit f0fe5558d140d8b54e3cd5f1d9c3f4d0c090c899
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/jbuilder.rb
View
@@ -47,8 +47,6 @@ def extract!(object, *attributes)
end
end
- alias :[] :extract!
-
def []=(*attributes, object)
extract!(object, *attributes)
end

0 comments on commit f0fe555

Please sign in to comment.