Sha256: e58cb02075c7541b3c05040bfe36e249932ec0bfaec3b50137be1dc6fe229998

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template 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

4 entries across 4 versions & 1 rubygems

Version Path
whirled_peas-0.9.1 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.9.0 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.8.0 screen_test/settings/flow/grid_t2b.rb
whirled_peas-0.7.1 screen_test/settings/flow/grid_t2b.rb