Skip to content

Commit

Permalink
Merge pull request #2 from lazyatom/patch-1
Browse files Browse the repository at this point in the history
s/trap/track/
  • Loading branch information
tomafro committed Mar 12, 2013
2 parents dd35d1d + 5ffa73c commit 08085a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/posts/2012-12-31-infinite-sequences-in-ruby.post
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class LazyEnumerator < Enumerator
end
{{/ruby}}

`#drop` and `#drop_while` are slightly more complicated, but follow a similar pattern. The main difference being that they need to keep trap of how much to drop:
`#drop` and `#drop_while` are slightly more complicated, but follow a similar pattern. The main difference being that they need to keep track of how much to drop:

{{#ruby}}
class LazyEnumerator < Enumerator
Expand Down

0 comments on commit 08085a5

Please sign in to comment.