Exception: Notiffany::Notifier::Detected::UnknownNotifier

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/notiffany/notifier/detected.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UnknownNotifier

Returns a new instance of UnknownNotifier.


35
36
37
38
# File 'lib/notiffany/notifier/detected.rb', line 35

def initialize(name)
  super
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name


40
41
42
# File 'lib/notiffany/notifier/detected.rb', line 40

def name
  @name
end

Instance Method Details

#messageObject


42
43
44
# File 'lib/notiffany/notifier/detected.rb', line 42

def message
  "Unknown notifier: #{@name.inspect}"
end