Sha256: 648baae8077c1c3709ee2bc55058f025111568671bc85f366bcbccd9e4bfcc3a
Contents?: true
Size: 617 Bytes
Versions: 4
Compression:
Stored size: 617 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
4 entries across 4 versions & 1 rubygems