summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb')
-rw-r--r--qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb b/qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb
index 1f4954dde9..1928d55408 100644
--- a/qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb
+++ b/qpid/cpp/bindings/qpid/ruby/examples/hello_world.rb
@@ -41,7 +41,7 @@ if __FILE__ == $0
# Now receive the message
message = receiver.fetch Qpid::Messaging::Duration::SECOND
- puts "#{message.content}"
+ puts "#{message.content_object}"
session.acknowledge
connection.close