# File lib/extlib/lazy_array.rb, line 37 def fetch(*args, &block) index = args.first if index >= 0 && lazy_possible?(@head, index + 1) @head.fetch(*args, &block) elsif index < 0 && lazy_possible?(@tail, index.abs) @tail.fetch(*args, &block) else lazy_load @array.fetch(*args, &block) end end