Sha256: 2a217371e616c275d1a393877e04452856a41e89ffef90ad5fda40d0125c36fb

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

require "edifact_rails/parser"

module EdifactRails
  def self.parse(string)
    parser = EdifactRails::Parser.new
    parser.parse string
  end

  def self.parse_file(file_path)
    parse(File.read(file_path).split("\n").join)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
edifact_rails-1.1.1 lib/edifact_rails.rb