Sha256: bf3de2d14aa717797d3cfd32cc332dad911402fd4fbf77a6d36c7cf70248636f

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

module Revepast
	module Parser
		class CargoScan
			autoload :Utils, 'revepast/parser'
			include Revepast::Parser

			attr_reader :result, :bad_lines

			def initialize
				@Utils = Utils.new
				@result = {}
				@bad_lines = []
				result = parse
			end

			def parse
                lines = @Utils.sanitize(Revepast.str)			
				@result, @bad_lines = @Utils.parse_listing(lines)
			end
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
revepast-1.0.2 lib/revepast/parser/cargo_scan.rb
revepast-0.1.0 lib/revepast/parser/cargo_scan.rb
revepast-0.0.3 lib/revepast/parser/cargo_scan.rb