Sha256: df515bf813ffeb515fe812d6025ee06176bfaa6c514c829e1778e944d1ee7b2a

Contents?: true

Size: 119 Bytes

Versions: 10

Compression:

Stored size: 119 Bytes

Contents

# Adding a helper to the String class for the batch parse.
class String
  def hl7_batch?
    !!match(/^FHS/)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-hl7-1.3.3 lib/core_ext/string.rb
ruby-hl7-1.3.2 lib/core_ext/string.rb
ruby-hl7-1.3.1 lib/core_ext/string.rb
ruby-hl7-1.3.0 lib/core_ext/string.rb
ruby-hl7-1.2.3 lib/core_ext/string.rb
ruby-hl7-1.2.2 lib/core_ext/string.rb
ruby-hl7-1.2.1 lib/core_ext/string.rb
ruby-hl7-1.2.0 lib/core_ext/string.rb
ruby-hl7-1.1.1 lib/core_ext/string.rb
ruby-hl7-1.1.0 lib/core_ext/string.rb