Exception: Notiffany::Notifier::Detected::UnknownNotifier
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Notiffany::Notifier::Detected::UnknownNotifier
- Defined in:
- lib/notiffany/notifier/detected.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownNotifier
constructor
A new instance of UnknownNotifier.
- #message ⇒ Object
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
#name ⇒ Object (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
#message ⇒ Object
42 43 44 |
# File 'lib/notiffany/notifier/detected.rb', line 42 def "Unknown notifier: #{@name.inspect}" end |