Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/string.rb

Overview

Adding a helper to the String class for the batch parse.

Instance Method Summary collapse

Instance Method Details

#hl7_batch?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/core_ext/string.rb', line 3

def hl7_batch?
  !!match(/^FHS/)
end