Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only use bracket assignment, not bracket access

  • Loading branch information...
commit f0fe5558d140d8b54e3cd5f1d9c3f4d0c090c899 1 parent ab7a4bc
@dhh dhh authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/jbuilder.rb
View
2  lib/jbuilder.rb
@@ -47,8 +47,6 @@ def extract!(object, *attributes)
end
end
- alias :[] :extract!
-
def []=(*attributes, object)
extract!(object, *attributes)
end
Please sign in to comment.
Something went wrong with that request. Please try again.