Class: RiotNotifier::None

Inherits:
Base
  • Object
show all
Defined in:
lib/riot_notifier/none.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#error, #fail, inherited, #initialize, #results

Constructor Details

This class inherits a constructor from RiotNotifier::Base

Class Method Details

.usable?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/riot_notifier/none.rb', line 9

def self.usable?
  true
end

Instance Method Details

#notify(color, msg) ⇒ Object



5
6
7
# File 'lib/riot_notifier/none.rb', line 5

def notify(color, msg)
  # noop
end