module Csv2hash::Expectation
Public Instance Methods
unexpected_line?(line, y)
click to toggle source
# File lib/csv2hash/expectation.rb, line 4 def unexpected_line? line, y return true if y < definition.header_size return true if self.options.fetch(:ignore_blank_line){false} and line.compact.empty? end