Sha256: a02487559452ac759ebbaf28db386f74a7ce2039e5df4e5539dbf0a814811acd

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

require_relative 'sandbox'

WhirledPeas.sandbox do |t|
  t.add_grid do |grid, settings|
    settings.num_cols = 3
    settings.bg_color = :yellow
    settings.color = :blue
    settings.set_margin(top: 3, left: 10)
    settings.set_padding(top: 1, bottom: 1, left: 3, right: 3)
    settings.full_border(color: :green)
    6.times.map { |i| (i + 1).to_s }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whirled_peas-0.3.0 sandbox/grid.rb
whirled_peas-0.2.0 sandbox/grid.rb
whirled_peas-0.1.1 sandbox/grid.rb
whirled_peas-0.1.0 sandbox/grid.rb