Exception: DBus::Object::UndefinedInterface

Inherits:
ScriptError
  • Object
show all
Defined in:
lib/dbus/object.rb

Overview

Forgetting to declare the interface for a method/signal/property is a ScriptError.

Instance Method Summary collapse

Constructor Details

#initialize(sym) ⇒ UndefinedInterface

rubocop:disable Lint/InheritException



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