Sha256: ac2f736e8573a4dfb8b634540d474ff712385137a9026c57d772092824e9ff84

Contents?: true

Size: 474 Bytes

Versions: 22

Compression:

Stored size: 474 Bytes

Contents

module Coltrane
  module Renderers
    module TextRenderer
      class BaseDrawer
        include Paint
        include Color

        attr_reader :model, :options, :flavor, :layout, :per_row

        def initialize(model, **options)
          @model   = model
          @options = options
          @flavor  = options[:flavor]  || :notes
          @layout  = options[:layout]  || :vertical
          @per_row = options[:per_row] || 4
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
coltrane-4.1.2 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-4.1.1 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-4.1.0 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-4.0.6 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-4.0.5 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-4.0.4 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-4.0.3 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.4.2 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.4.1 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.4.0 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.3.3 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.3.2 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.3.1 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.3.0 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.2.0 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.1.3 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.1.2 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.1.1 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.1.0 lib/coltrane/renderers/text_renderer/base_drawer.rb
coltrane-3.0.0 lib/coltrane/renderers/text_renderer/base_drawer.rb