From 02f19f9718c7837463bfef8a01d589e0d9c4bb11 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 10 Jan 2011 14:08:50 +0000 Subject: Updated Python and Ruby wrappers to reflect API changes. Updates to the agent examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057200 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/bindings/qmf2/ruby/qmf2.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpp/bindings/qmf2/ruby') diff --git a/cpp/bindings/qmf2/ruby/qmf2.rb b/cpp/bindings/qmf2/ruby/qmf2.rb index 97e71c642b..6c6dbf357d 100644 --- a/cpp/bindings/qmf2/ruby/qmf2.rb +++ b/cpp/bindings/qmf2/ruby/qmf2.rb @@ -250,10 +250,8 @@ module Qmf2 @impl = Cqmf2::Data.new elsif arg.class == Cqmf2::Data @impl = arg - elsif arg.class == SchemaId - @impl = Cqmf2::Data(arg.impl) elsif arg.class == Schema - @impl = Cqmf2::Data(arg.impl.getSchemaId) + @impl = Cqmf2::Data(arg.impl) else raise "Unsupported initializer for Data" end -- cgit v1.2.1