This file is part of the ruby-dbus project Copyright (C) 2007 Arnaud Cornet and Paul van Tilburg
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software Foundation. See the file "COPYING" for the exact licensing terms.
SystemSocketName | = | "unix:path=/var/run/dbus/system_bus_socket" | Default socket name for the system bus. | |
BIG_END | = | ?B | Byte signifying big endianness. | |
LIL_END | = | ?l | Byte signifying little endianness. | |
HOST_END | = | if [0x01020304].pack("L").unpack("V")[0] == 0x01020304 | Byte signifying the host‘s endianness. | |
MethodSignalRE | = | /^[A-Za-z][A-Za-z0-9_]*$/ | Regular expressions that should match all method names. | |
InterfaceElementRE | = | /^[A-Za-z][A-Za-z0-9_]*$/ | Regular expressions that should match all interface names. |
raise DBus.error, "message" raise DBus.error("org.example.Error.SeatOccupied"), "Seat #{n} is occupied"