Sha256: 68003076ad9de87088cb824e41c639cf0acb42f659d777871ab7fe523ec7831a

Contents?: true

Size: 302 Bytes

Versions: 2

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 = :r2l
        settings.full_border
        settings.num_cols = 4
        14.times.map { |i| i + 1 }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whirled_peas-0.7.0 screen_test/settings/flow/grid_r2l.rb
whirled_peas-0.6.0 screen_test/rendered/settings/flow/grid_r2l.rb