Sha256: 0a1fd456a85374a279a94d85a175a1c8dbb0745d1a7e852bf6ae045cde7aecea

Contents?: true

Size: 309 Bytes

Versions: 5

Compression:

Stored size: 309 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer, settings|
      composer.add_grid do |_, settings|
        settings.flow = :t2b
        settings.full_border
        settings.num_cols = 4
        10.times.map { |i| i + 1 }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.12.0 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.11.1 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.11.0 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.10.0 screen_test/settings/flow/grid_t2b.rb