Sha256: d55a4b2e8716dd04400c8337d2e4ed4bd48811925ef88d2deb406bbddc03cc39

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_grid('Tall') do |_, settings|
        settings.full_border
        settings.num_cols = 4
        settings.height = 5
        10.times.map(&:itself)
      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/grid.rb
whirled_peas-0.12.0 screen_test/settings/height/grid.rb
whirled_peas-0.11.1 screen_test/settings/height/grid.rb
whirled_peas-0.11.0 screen_test/settings/height/grid.rb
whirled_peas-0.10.0 screen_test/settings/height/grid.rb