Sha256: 8836d4b96cfbd582444d2472df47379f14150b08289ca9990655f0132d10d182

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

module DevSuite
  module Utils
    module Table
      module Renderer
        class Base
          attr_reader :settings

          def initialize(settings: Settings.new)
            @settings = settings
          end

          def render(table)
            raise NotImplementedError, "Render method must be implemented in subclasses"
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dev_suite-0.2.4 lib/dev_suite/utils/table/renderer/base.rb
dev_suite-0.2.3 lib/dev_suite/utils/table/renderer/base.rb
dev_suite-0.2.2 lib/dev_suite/utils/table/renderer/base.rb
dev_suite-0.2.1 lib/dev_suite/utils/table/renderer/base.rb