examples/put1_a.rb in rubywmq-2.0.2 vs examples/put1_a.rb in rubywmq-2.1.0

- old
+ new

@@ -1,9 +1,8 @@ # # Sample : put1() : Put a single message to a queue # -require 'rubygems' require 'wmq' -WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr| - qmgr.put(:q_name=>'TEST.QUEUE', :data => 'Hello World') +WMQ::QueueManager.connect(q_mgr_name: 'REID') do |qmgr| + qmgr.put(q_name: 'TEST.QUEUE', data: 'Hello World') end