Sha256: 52e188f44a4323887b5c2282295c0f53cb87c9fabf9f5e5f575fd9f209784383
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
require 'delegate' module Resync module Util class IndexableLazy < SimpleDelegator def initialize(array) super(array.lazy) @array = array end def [](key) @array[key] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
resync-0.2.2 | lib/resync/util/indexable_lazy.rb |
resync-0.2.1 | lib/resync/util/indexable_lazy.rb |
resync-0.2.0 | lib/resync/util/indexable_lazy.rb |