Sha256: 205af3dce3ed9ec80ee3a3affaaff792af38fc930e48b7fc5123565337d0f39a

Contents?: true

Size: 395 Bytes

Versions: 4

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module MasterDataTool
  module Report
    module Core
      attr_reader :master_data

      def initialize(master_data)
        @master_data = master_data
      end

      def print(printer)
        raise NotImplementedError
      end

      private

      def convert_to_ltsv(items)
        items.map { |k, v| "#{k}:#{v}" }.join("\t")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
master_data_tool-0.22.0 lib/master_data_tool/report/core.rb
master_data_tool-0.21.1 lib/master_data_tool/report/core.rb
master_data_tool-0.21.0 lib/master_data_tool/report/core.rb
master_data_tool-0.20.0 lib/master_data_tool/report/core.rb