We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2646c0d + eb6bae3 commit 742e041Copy full SHA for 742e041
lib/dbus/marshall.rb
@@ -296,7 +296,7 @@ def struct
296
def append(type, val)
297
raise TypeException, "Cannot send nil" if val.nil?
298
299
- type = type.chr if type.is_a?(Fixnum)
+ type = type.chr if type.is_a?(Integer)
300
type = Type::Parser.new(type).parse[0] if type.is_a?(String)
301
case type.sigtype
302
when Type::BYTE
lib/dbus/message.rb
@@ -126,7 +126,7 @@ def reply_to(m)
126
127
# Add a parameter _val_ of type _type_ to the message.
128
def add_param(type, val)
129
130
@signature += type.to_s
131
@params << [type, val]
132
end
0 commit comments