lib/x12/parser.rb in pd_x12-1.4.8 vs lib/x12/parser.rb in pd_x12-1.5.0

- old
+ new

@@ -20,35 +20,20 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #++ # -require "rexml/document" -require 'pp' module X12 # $Id: Parser.rb 89 2009-05-13 19:36:20Z ikk $ # # Main class for creating X12 parsers and factories. class Parser # These constitute prohibited file names under Microsoft - MS_DEVICES = [ - 'CON', - 'PRN', - 'AUX', - 'CLOCK$', - 'NUL', - 'COM1', - 'LPT1', - 'LPT2', - 'LPT3', - 'COM2', - 'COM3', - 'COM4', - ] + MS_DEVICES = ['CON', 'PRN', 'AUX', 'CLOCK$', 'NUL', 'COM1', 'LPT1', 'LPT2', 'LPT3', 'COM2', 'COM3', 'COM4'] # Creates a parser out of a definition def initialize(file_name) save_definition = @x12_definition