PROTON-873: Replaced send with __send__ in Ruby Mapping class
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/b482e774 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/b482e774 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/b482e774 Branch: refs/heads/kgiusti-python3 Commit: b482e77455912a6266fe09793025ea854b597818 Parents: 0db016f Author: Darryl L. Pierce <[email protected]> Authored: Wed Apr 29 16:02:41 2015 -0400 Committer: Darryl L. Pierce <[email protected]> Committed: Wed Apr 29 16:02:53 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/ruby/lib/qpid_proton/mapping.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/b482e774/proton-c/bindings/ruby/lib/qpid_proton/mapping.rb ---------------------------------------------------------------------- diff --git a/proton-c/bindings/ruby/lib/qpid_proton/mapping.rb b/proton-c/bindings/ruby/lib/qpid_proton/mapping.rb index 29173ab..9189cbc 100644 --- a/proton-c/bindings/ruby/lib/qpid_proton/mapping.rb +++ b/proton-c/bindings/ruby/lib/qpid_proton/mapping.rb @@ -70,11 +70,11 @@ module Qpid # :nodoc: def to_s; @name; end def put(data, value) - data.send(@put_method, value) + data.__send__(@put_method, value) end def get(data) - data.send(@get_method) + data.__send__(@get_method) end def self.for_class(klass) # :nodoc: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
