Sha256: dad5da4d926005f4ca8e45fcbf2475ee2b95acf232b25c0a72d5967651bfaf7f

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_graph('Graph') do |_, settings|
        settings.height = 12
        10.times.map { |i| 100 - i ** 2 }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/elements/graph_desc.rb
whirled_peas-0.12.0 screen_test/elements/graph_desc.rb
whirled_peas-0.11.1 screen_test/elements/graph_desc.rb