Class: DInstaller::DBus::Question

Inherits:
BaseObject
  • Object
show all
Defined in:
lib/dinstaller/dbus/question.rb

Overview

Class to represent a question on D-Bus

Questions are dynamically exported on D-Bus. All questions are exported as children of Questions object.

Clients should provide an answer for each question.

Defined Under Namespace

Modules: Interfaces

Instance Method Summary collapse

Methods inherited from BaseObject

#interfaces_and_properties

Constructor Details

#initialize(path, backend, logger) ⇒ Question

Constructor

Parameters:



159
160
161
162
163
# File 'lib/dinstaller/dbus/question.rb', line 159

def initialize(path, backend, logger)
  super(path, logger: logger)
  @backend = backend
  add_interfaces
end