fixing the food/eat array comprehension in the docs to not pretend like there's a made-up method on String.prototype

This commit is contained in:
Jeremy Ashkenas 2010-01-01 17:16:34 -05:00
parent 34add7d7bf
commit c3d0e50e8f
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# Eat lunch.
lunch: food.eat() for food in ['toast', 'cheese', 'wine']
lunch: this.eat(food) for food in ['toast', 'cheese', 'wine']
# Zebra-stripe a table.
highlight(row) for row, i in table when i % 2 is 0