Sha256: f6e5a937733a9a87510b0f4ea13367068ce4ec0c17b5f3b30f6a04df53692f7b
Contents?: true
Size: 335 Bytes
Versions: 15
Compression:
Stored size: 335 Bytes
Contents
# frozen_string_literal: true module DeepCover module Tools::LooksLikeRailsProject extend self def looks_like_rails_project?(path) path = File.expand_path(path) %w(app config/application.rb config/environments db/migrate lib).all? do |q_path| File.exist?("#{path}/#{q_path}") end end end end
Version data entries
15 entries across 15 versions & 1 rubygems