lib/x12/segment.rb in gm_x12-1.6.0 vs lib/x12/segment.rb in gm_x12-1.6.1

- old
+ new

@@ -33,10 +33,10 @@ # if cannot parse def parse_helper(str, yield_loop_name, block) s = str # puts "Parsing segment #{name} from #{s[0..10]} with regexp [#{regexp.source}]" quick_match = s.start_with?("#{name}#{field_separator}") - puts "#{name} #{s[0..10]} with regexp [#{regexp.source}] matched #{quick_match ? s[0..10] : 'nothing'}" + # puts "#{name} #{s[0..10]} with regexp [#{regexp.source}] matched #{quick_match ? s[0..10] : 'nothing'}" return nil unless quick_match m = regexp.match(s) s = m.post_match self.parsed_str = m[0]