Sha256: 4484a141025f09d6fde754edfdc10b1b7cd64f555f53f119dc41045f1131a0c0
Contents?: true
Size: 1.02 KB
Versions: 18
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true # This file is part of the ruby-dbus project # Copyright (C) 2016 Martin Vidner # # 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. module DBus class ApiOptions # https://github.com/mvidner/ruby-dbus/issues/30 # @return [Boolean] # - true: a proxy (client-side) method will return an array # even for the most common case where the method is declared # to have only one 'out parameter' # - false: a proxy (client-side) method will return # - one value for the only 'out parameter' # - an array with more 'out parameters' attr_accessor :proxy_method_returns_array A0 = ApiOptions.new A0.proxy_method_returns_array = true A0.freeze A1 = ApiOptions.new A1.proxy_method_returns_array = false A1.freeze CURRENT = A1 end end
Version data entries
18 entries across 18 versions & 1 rubygems