You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The clean_batch_for_jruby method is called during parse_batch. However, unless the message contains a linefeed (0xA), nil is returned, which causes an HL7::ParseError to be raised.
All of the examples in"lib/test/hl7_messages.rb" terminate with a linefeed because they're using ruby HEREDOCs.
The text was updated successfully, but these errors were encountered:
breckenedge
changed the title
clean_batch_for_jruby returns nil unless message contains a linefeed ("\n")
clean_batch_for_jruby returns nil unless batch contains a linefeed ("\n")
Aug 17, 2018
The
clean_batch_for_jruby
method is called duringparse_batch
. However, unless the message contains a linefeed (0xA),nil
is returned, which causes anHL7::ParseError
to be raised.Current method definition:
This probably should be:
All of the examples in"lib/test/hl7_messages.rb" terminate with a linefeed because they're using ruby HEREDOCs.
The text was updated successfully, but these errors were encountered: