Sha256: ecec2a056905881d82bbafdb0ef0ac44925ade854d4ff04198b793511885da88
Contents?: true
Size: 616 Bytes
Versions: 5
Compression:
Stored size: 616 Bytes
Contents
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Framework # Used to define common locations and extensions for specific technologies class ViewTechnologiesDescriptor attr_reader :path, :extension, :technology_names def initialize path, extension, technology_names @path = path @extension = extension @technology_names = technology_names end def empty? Dir["#{ path }/**/*#{ extension }"].empty? end end end end
Version data entries
5 entries across 5 versions & 1 rubygems