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



100
101
102
# File 'lib/dbus/object.rb', line 100

def initialize(sym)
  super "No interface specified for #{sym}. Enclose it in dbus_interface."
end