Sha256: 6a0335988c23b74d62aad80034f73f24f7beb6b5185528a3a9837db3be975773
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true module Support ## # Responsible for provide relative paths to support files # Files located under: /lib/plugin/pre_commit/support/checkstyle* module Path ## # Return support path relative to a given +file+ # # @param file [String] file name # @return [String] formatted path def self.relative_to(file) File.expand_path( "../../../../resources/checkstyle/#{file}", __FILE__ ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
java-checkstyle-precommit-1.0.0 | lib/plugins/pre_commit/support/path.rb |