class Revepast::Parser::CargoScan
Attributes
bad_lines[R]
result[R]
Public Class Methods
new()
click to toggle source
# File lib/revepast/parser/cargo_scan.rb, line 9 def initialize @Utils = Utils.new @result = {} @bad_lines = [] result = parse end
Public Instance Methods
parse()
click to toggle source
# File lib/revepast/parser/cargo_scan.rb, line 16 def parse lines = @Utils.sanitize(Revepast.str) @result, @bad_lines = @Utils.parse_listing(lines) end