ruby-dbus-openplacos 0.7.2 → 0.7.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/dbus/export.rb +12 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.2
|
1
|
+
0.7.2.1
|
data/lib/dbus/export.rb
CHANGED
@@ -49,11 +49,21 @@ module DBus
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def intfs
|
52
|
-
|
52
|
+
#check if singleton class is defined
|
53
|
+
if self.singleton_methods.empty?
|
54
|
+
self.class.intfs
|
55
|
+
else
|
56
|
+
self.singleton_class.intfs
|
57
|
+
end
|
53
58
|
end
|
54
59
|
|
55
60
|
def intfs= param
|
56
|
-
|
61
|
+
#check if singleton class is defined
|
62
|
+
if self.singleton_methods.empty?
|
63
|
+
self.class.intfs = param
|
64
|
+
else
|
65
|
+
self.singleton_class.intfs = param
|
66
|
+
end
|
57
67
|
end
|
58
68
|
|
59
69
|
# State that the object implements the given _intf_.
|