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