Sha256: 62698e6c6a6fbb09395075bf12c1a80564e5aacde7151c2d70645e2d6cca0a7f
Contents?: true
Size: 245 Bytes
Versions: 170
Compression:
Stored size: 245 Bytes
Contents
module Browser class Iterable include Enumerable def initialize js_iterable @js_iterable = js_iterable end def each `#@js_iterable.length`.times do |i| yield `#@js_iterable[i]` end end end end
Version data entries
170 entries across 170 versions & 2 rubygems