lib/acb.rb in acb-0.1.0 vs lib/acb.rb in acb-0.1.1

- old
+ new

@@ -1,10 +1,11 @@ # frozen_string_literal: true require_relative 'acb/version' require 'active_support' require 'forwardable' +require 'csv' module Acb extend ActiveSupport::Concern class Header @@ -26,10 +27,10 @@ def keys @columns.map(&:name) end def get_data(row) - @columns.map { _1.digest(row) } + @columns.map { |column| column.digest(row) } end end class Column attr_reader :name