Sha256: cebade0f55b0a7bd930c9c00c166a7bc102d101ad285db97c9ab75da644f963d
Contents?: true
Size: 446 Bytes
Versions: 200
Compression:
Stored size: 446 Bytes
Contents
require_paths = [] dev_path = "lib/souls/cli/delete/*" souls_path = Dir["#{Gem.dir}/gems/souls-*"].last gem_path = "#{souls_path}/lib/souls/cli/delete/*" file_paths = File.exist?("souls.gemspec") ? dev_path : gem_path Dir[file_paths].map do |n| next if n.include?("index.rb") require_paths << n.split("/").last.gsub(".rb", "") end require_paths.each do |path| require_relative "./#{path}" end module Souls class Delete < Thor end end
Version data entries
200 entries across 200 versions & 1 rubygems