# frozen_string_literal: true
module JobBuffer
class << self
def clear
values.clear
end
def add(value)
values << value
def values
@values ||= []
def last_value
values.last
class ActiveSupport::TestCase
teardown do
JobBuffer.clear