Sha256: 49e49433c05e2cd6e8be44483e9f5b8ccb2bf7ed2c9aed4292becc22c3b52dfc
Contents?: true
Size: 306 Bytes
Versions: 24
Compression:
Stored size: 306 Bytes
Contents
module PirateBay class ResultSet < Array attr_accessor :total_results, :search def initialize(initializer) self.search = initializer self.total_results = 1.0/0 #Infinity end def retrieved_results self.size end def more search.next_page end end end
Version data entries
24 entries across 24 versions & 3 rubygems