Exception: DBus::Object::UndefinedInterface
- Inherits:
-
ScriptError
- Object
- ScriptError
- DBus::Object::UndefinedInterface
- Defined in:
- lib/dbus/object.rb
Overview
Forgetting to declare the interface for a method/signal/property is a ScriptError.
Instance Method Summary collapse
-
#initialize(sym) ⇒ UndefinedInterface
constructor
A new instance of UndefinedInterface.
Constructor Details
#initialize(sym) ⇒ UndefinedInterface
Returns a new instance of UndefinedInterface.
120 121 122 |
# File 'lib/dbus/object.rb', line 120 def initialize(sym) super "No interface specified for #{sym}. Enclose it in dbus_interface." end |