Sha256: b55ae946c0a8c71e82ac2de3a1affb8ad27f5b262df2d9e26b3a9608b63e4bb0

Contents?: true

Size: 229 Bytes

Versions: 16

Compression:

Stored size: 229 Bytes

Contents

module Csv2hash
  module Expectation

    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

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
csv2hash-0.7.7 lib/csv2hash/expectation.rb
csv2hash-0.7.6 lib/csv2hash/expectation.rb
csv2hash-0.7.5 lib/csv2hash/expectation.rb
csv2hash-0.7.3 lib/csv2hash/expectation.rb
csv2hash-0.7.2 lib/csv2hash/expectation.rb
csv2hash-0.7.1 lib/csv2hash/expectation.rb
csv2hash-0.7.0 lib/csv2hash/expectation.rb
csv2hash-0.6.8 lib/csv2hash/expectation.rb
csv2hash-0.6.7 lib/csv2hash/expectation.rb
csv2hash-0.6.6 lib/csv2hash/expectation.rb
csv2hash-0.6.5 lib/csv2hash/expectation.rb
csv2hash-0.6.4 lib/csv2hash/expectation.rb
csv2hash-0.6.3 lib/csv2hash/expectation.rb
csv2hash-0.6.2 lib/csv2hash/expectation.rb
csv2hash-0.6.1 lib/csv2hash/expectation.rb
csv2hash-0.6.0 lib/csv2hash/expectation.rb