Sha256: b746a73138e66508a59ddee47a9e10a718a82e993682dcf58146208a56668117

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 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

1 entries across 1 versions & 1 rubygems

Version Path
master_data_tool-0.23.0 lib/master_data_tool/report/core.rb