Sha256: 38078bfe1f82155311ea687820034836e9d692d63f20678c3807014c4124c718

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_box('Wide') do |_, settings|
        settings.full_border
        settings.padding.vert = 1
        settings.height = 6
        settings.sizing = :border
        "11\n22\n33\n44"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.12.0 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.11.1 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.11.0 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.10.0 screen_test/settings/height/box_border_sizing.rb