Class: RBus::SystemBus
- Inherits:
-
Bus
- Object
- BlankSlate
- Proxy
- Bus
- RBus::SystemBus
- Includes:
- Singleton
- Defined in:
- lib/rbus/bus/bus.rb
Overview
Represents the connection to the System Bus.
Instance Attribute Summary
Attributes inherited from Bus
#message_loop, #names, #transport
Instance Method Summary collapse
-
#initialize ⇒ SystemBus
constructor
A new instance of SystemBus.
Methods inherited from Bus
Methods inherited from Proxy
#Introspect, #connect!, #interface!, #method!, #method_missing, #parse_arguments!, parse_introspect
Constructor Details
#initialize ⇒ SystemBus
Returns a new instance of SystemBus.
95 96 97 |
# File 'lib/rbus/bus/bus.rb', line 95 def initialize super(ENV['DBUS_SYSTEM_BUS_ADDRESS'] || 'unix:path=/var/run/dbus/system_bus_socket') end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RBus::Proxy