- changed status to resolved
Symbol names for parms
Issue #1
resolved
Consider allowing Ruby symbols for parameter names. This would clean up the syntax.
qrcvdtaq = XMLService::I_PGM.new("QRCVDTAQ")
qrcvdtaq.input_parms {
char :queue_name, 10, data_queue
char :library, 10, lib
dec :data_length, 5, 0, 50.0
char :data_output, 100, ''
dec :wait_time, 5, 0, 0.0
}
Here is the necessary xmlservice.rb change: https://www.diffchecker.com/lhx6d9es
Comments (1)
-
reporter - Log in to comment
Resolved in this commit.