Method: Qt::DBusInterface#method_missing

Defined in:
lib/Qt/qtruby4.rb

#method_missing(id, *args) ⇒ Object



759
760
761
762
763
764
765
766
767
768
769
770
771
# File 'lib/Qt/qtruby4.rb', line 759

def method_missing(id, *args)
	begin
		# First look for a method in the Smoke runtime
		# If not found, then throw an exception and try dbus.
		super(id, *args)
	rescue
		if args.length == 0
			return call(id.to_s).value
		else
			return call(id.to_s, *args).value
		end
	end
end