require_relative 'settings' module CodeGenerator include Settings def self.call Array.new(Settings::CODE_LENGTH) { rand(Settings::RANDOM_RANGE) } end end