Sha256: 8bfb8dfe3803f1bfd2aafcebe346773d1bd21618ef117301da1976b8be6a7f6c

Contents?: true

Size: 202 Bytes

Versions: 7

Compression:

Stored size: 202 Bytes

Contents

# Doesn't notify at all. Is used as auto-detection fallback.
module RiotNotifier

  class None < Base
    def notify(color, msg)
      # noop
    end

    def self.usable?
      true
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
riot_notifier-0.5.0 lib/riot_notifier/none.rb
riot_notifier-0.4.0 lib/riot_notifier/none.rb
riot_notifier-0.3.0 lib/riot_notifier/none.rb
riot_notifier-0.2.0 lib/riot_notifier/none.rb
riot_notifier-0.1.1 lib/riot_notifier/none.rb
riot_notifier-0.0.8 lib/riot_notifier/none.rb
riot_notifier-0.0.7 lib/riot_notifier/none.rb