Skip to content

Commit

Permalink
self -> @
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep M. Bach committed Jan 27, 2012
1 parent 905e602 commit b55d649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ namely `#def`, `#include` and `#extend`. Let's reopen Array and define a new
method: method:


Ruby.Array.def('sum', -> Ruby.Array.def('sum', ->
self.ruby('reduce', '+') @ruby('reduce', '+')
end) end)


Since Noscript arrays are instances of the ruby Array class, `#sum` should be Since Noscript arrays are instances of the ruby Array class, `#sum` should be
Expand Down

0 comments on commit b55d649

Please sign in to comment.