Sha256: 3fa15839ce285428f30aa5eb48da5b99acef431aecc4dfca62f15988f4f21318
Contents?: true
Size: 293 Bytes
Versions: 17
Compression:
Stored size: 293 Bytes
Contents
module SequenceServer # Keep track of last 100 searches in memory. module Search TRACK = 100 class << self def <<(file) data.shift if data.length >= TRACK data << file end private def data @data ||= [] end end end end
Version data entries
17 entries across 17 versions & 1 rubygems