Sha256: bd71b5bd3c398b1e9d2b8a345d802745cbf1780b656c316738852e577eccf09d

Contents?: true

Size: 311 Bytes

Versions: 13

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

require_relative 'sketch_writer'
# Sketch Factory
class SketchFactory
  NAMES = %w[One Two Three].freeze
  def initialize(_argc)
    NAMES.each do |name|
      SketchWriter.new(File.basename(name, '.rb')).write
    end
  end
end

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
picrate-2.5.2-java lib/picrate/creators/sketch_factory.rb
picrate-2.5.1-java lib/picrate/creators/sketch_factory.rb
picrate-2.5.0-java lib/picrate/creators/sketch_factory.rb
picrate-2.4.2-java lib/picrate/creators/sketch_factory.rb
picrate-2.4.1-java lib/picrate/creators/sketch_factory.rb
picrate-2.4.0-java lib/picrate/creators/sketch_factory.rb
picrate-2.3.0-java lib/picrate/creators/sketch_factory.rb
picrate-2.2.0-java lib/picrate/creators/sketch_factory.rb
picrate-2.1.2-java lib/picrate/creators/sketch_factory.rb
picrate-2.1.1-java lib/picrate/creators/sketch_factory.rb
picrate-2.1.0-java lib/picrate/creators/sketch_factory.rb
picrate-2.0.1-java lib/picrate/creators/sketch_factory.rb
picrate-2.0.0.pre-java lib/picrate/creators/sketch_factory.rb