Sha256: a7b84712ce87d9a11f7f4c203c26508e2ef4b8ccce00e43cd1e8fdf57e692e2a

Contents?: true

Size: 231 Bytes

Versions: 14

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

module JunkDrawer
  class Notifier

    # Notifier strategy to silently swallow notifications and do nothing
    class NullStrategy

      include Callable

      def call(*); end

    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
junk_drawer-2.1.2 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-2.1.1 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-2.1.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-2.0.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.8.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.7.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.6.3 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.6.2 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.6.1 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.6.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.5.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.4.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.3.0 lib/junk_drawer/notifier/null_strategy.rb
junk_drawer-1.2.1 lib/junk_drawer/notifier/null_strategy.rb