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