Skip to content

Instantly share code, notes, and snippets.

@patricksrobertson
Created February 6, 2014 17:46
Show Gist options
  • Save patricksrobertson/8849083 to your computer and use it in GitHub Desktop.
Save patricksrobertson/8849083 to your computer and use it in GitHub Desktop.
class HL7::Message::Segment::FTS < HL7::Message::Segment
add_field :something
add_field :something_else
end
class HL7::Message::Segment::FTS < HL7::Message::Segment
add_field :something
add_field :something_else
end
seg = HL7::Message::Segment::FTS.new
seg.something = 'BLARG'
p seg
#actual result
#=> FTS|||'BLARG||
#expected result
#=> FTS|'BLARG'||
@patricksrobertson
Copy link
Author

WATTTTT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment