Sha256: fd5f69617db6c3002259f153e310115d611c15bb599f6326ab385f2ed04fa391

Contents?: true

Size: 320 Bytes

Versions: 9

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

require_relative 'sketch_writer'

class SketchFactory
  NAMES = %w[One Two Three].freeze
  def initialize(_argc)
    NAMES.each do |name|
      SketchWriter.new(File.basename(name, '.rb'), width: 300, height: 300).write
    end
  end
end

SketchFactory.new(File.join(ENV['HOME'], 'test'))

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
propane-4.0.0-java lib/propane/creators/sketch_factory.rb
propane-3.11.0-java lib/propane/creators/sketch_factory.rb
propane-3.10.0-java lib/propane/creators/sketch_factory.rb
propane-3.9.0-java lib/propane/creators/sketch_factory.rb
propane-3.8.0-java lib/propane/creators/sketch_factory.rb
propane-3.7.1-java lib/propane/creators/sketch_factory.rb
propane-3.7.0.pre-java lib/propane/creators/sketch_factory.rb
propane-3.6.0-java lib/propane/creators/sketch_factory.rb
propane-3.5.0-java lib/propane/creators/sketch_factory.rb