Sha256: 0a43e35d7e388c7d8fd9c876639f644b5e67086247e0013ca7eb2598557daeea

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer, settings|
      settings.set_padding(left: 5, top: 5)
      composer.add_box do |composer, settings|
        settings.full_border(color: :green)
        composer.add_box do |_, settings|
          settings.position.left = -3
          settings.full_border(color: :red)
          %w[12345 22344 33333 44322 54321].join("\n")
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whirled_peas-0.10.0 screen_test/settings/position/box_left_negative.rb