Class | Array |
In: |
lib/extensions.rb
|
Parent: | Object |
# File lib/extensions.rb, line 18 def eachAfter(element, &block) self[self.index(element) + 1, self.length].each { |x| yield x } end