Sha256: 58f375613411d2997537d9928de5d34dcaa4ed916cf235197dcd4c0f0b09bb79
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
module Twitter module Enumerable include ::Enumerable # @return [Enumerator] def each(start = 0, &block) return to_enum(:each) unless block_given? Array(@collection[start..-1]).each do |element| yield element end self end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.3.1 | lib/twitter/enumerable.rb |
twitter-5.3.0 | lib/twitter/enumerable.rb |
twitter-5.2.0 | lib/twitter/enumerable.rb |