Sha256: edb32c593917103c5a8bb0461682dfd66e37ee62651c4c2f8cb0c67976a01d08
Contents?: true
Size: 310 Bytes
Versions: 59
Compression:
Stored size: 310 Bytes
Contents
require 'set' module Bullet class NotificationCollector attr_reader :collection def initialize reset end def reset @collection = Set.new end def add(value) @collection << value end def notifications_present? !@collection.empty? end end end
Version data entries
59 entries across 59 versions & 2 rubygems