Sha256: f60b69e364c12a3313dd00e7ed51d4b0913bdf02c534024e991e51276ea8c86a

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template 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.set_position(top: 3)
          settings.full_border(color: :red)
          %w[12345 22344 33333 44322 54321].join("\n")
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.9.1 screen_test/settings/position/box_top.rb
whirled_peas-0.9.0 screen_test/settings/position/box_top.rb
whirled_peas-0.8.0 screen_test/settings/position/box_top.rb
whirled_peas-0.7.1 screen_test/settings/position/box_top.rb
whirled_peas-0.7.0 screen_test/settings/position/box_top.rb